From af9609ea4b3d8105990ef4f52d7750f5fb4059b7 Mon Sep 17 00:00:00 2001 From: Alex Dixon Date: Fri, 25 Oct 2024 07:24:26 -0700 Subject: [PATCH] remove unused code --- typescript/src/types/tools.ts | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/typescript/src/types/tools.ts b/typescript/src/types/tools.ts index db9442a5..93fe1da9 100644 --- a/typescript/src/types/tools.ts +++ b/typescript/src/types/tools.ts @@ -49,28 +49,3 @@ export const toolFromZodFunction = { - return { world: 'world' } - } -) - -const mytool = tool( - { - name: 'mytool', - input: z.object({ hello: z.string() }).describe('This is a test tool'), - output: z.object({ world: z.string() }).describe('This is a test tool'), - description: 'This is a test tool', - }, - async (args) => { - return { world: 'world' } - } -)