fix(coding-agent): kept inspect_image tool non-strict and removed cwd from python schema test
This commit is contained in:
@@ -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"]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user