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

@@ -18,11 +18,11 @@ export const ReadTool = Tool.define({
offset: z
.number()
.describe("The line number to start reading from (0-based)")
.optional(),
.nullable(),
limit: z
.number()
.describe("The number of lines to read (defaults to 2000)")
.optional(),
.nullable(),
}),
async execute(params, ctx) {
let filePath = params.filePath