cleanup button UI
This commit is contained in:
parent
eeaff7dba6
commit
8e9f1048df
1 changed files with 0 additions and 5 deletions
|
|
@ -9,11 +9,6 @@ describe("Tool Definitions", () => {
|
|||
enableExperimentalTools: false,
|
||||
};
|
||||
|
||||
// Helper function to check if a value is a Tool or GetTool
|
||||
const isToolOrGetTool = (value: any): value is Tool | GetTool => {
|
||||
return typeof value === "object" || typeof value === "function";
|
||||
};
|
||||
|
||||
// Helper function to get the actual tool object
|
||||
const getToolObject = (toolDefinition: Tool | GetTool): Tool => {
|
||||
if (typeof toolDefinition === "function") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue