fix(coding-agent): kept inspect_image tool non-strict and removed cwd from python schema test

This commit is contained in:
can1357
2026-04-26 05:49:29 +02:00
parent 8321996758
commit f80348bf34
2 changed files with 1 additions and 2 deletions
@@ -43,7 +43,7 @@ export class InspectImageTool implements AgentTool<typeof inspectImageSchema, In
readonly label = "InspectImage";
readonly description: string;
readonly parameters = inspectImageSchema;
readonly strict = true;
readonly strict = false;
constructor(
private readonly session: ToolSession,
@@ -53,7 +53,6 @@ describe("python tool schema", () => {
expect(schema.type).toBe("object");
expect(schema.properties.cells.type).toBe("array");
expect(schema.properties.timeout.type).toBe("number");
expect(schema.properties.cwd.type).toBe("string");
expect(schema.properties.reset.type).toBe("boolean");
expect(schema.required).toEqual(["cells"]);
});