remove min/max in tool schemas

This commit is contained in:
Dax Raad
2025-07-29 17:39:31 -04:00
parent 4a46144419
commit 7e9ac35666
4 changed files with 3 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ export const BashTool = Tool.define("bash", {
description: DESCRIPTION,
parameters: z.object({
command: z.string().describe("The command to execute"),
timeout: z.number().min(0).max(MAX_TIMEOUT).describe("Optional timeout in milliseconds").optional(),
timeout: z.number().describe("Optional timeout in milliseconds").optional(),
description: z
.string()
.describe(