properly support codex mini

This commit is contained in:
Dax Raad
2025-06-09 20:24:18 -04:00
parent bffc612a4e
commit fed659c582
10 changed files with 26 additions and 24 deletions

View File

@@ -11,10 +11,10 @@ export const GlobTool = Tool.define({
pattern: z.string().describe("The glob pattern to match files against"),
path: z
.string()
.nullable()
.describe(
`The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter "undefined" or "null" - simply omit it for the default behavior. Must be a valid directory path if provided.`,
)
.optional(),
),
}),
async execute(params) {
const app = App.info()