feat(coding-agent): added multi-cell Python execution with persistent kernel
- Added multi-cell Python execution with sequential processing in persistent kernel. - Changed Python tool API to use cells array instead of single code parameter. - Renamed workdir parameter to cwd across Bash and Python tools for consistency. - Fixed indentation adjustment logic for mixed indentation levels in patch tool.
This commit is contained in:
@@ -56,11 +56,11 @@ describe("python tool schema", () => {
|
||||
};
|
||||
|
||||
expect(schema.type).toBe("object");
|
||||
expect(schema.properties.code.type).toBe("string");
|
||||
expect(schema.properties.cells.type).toBe("array");
|
||||
expect(schema.properties.timeoutMs.type).toBe("number");
|
||||
expect(schema.properties.workdir.type).toBe("string");
|
||||
expect(schema.properties.cwd.type).toBe("string");
|
||||
expect(schema.properties.reset.type).toBe("boolean");
|
||||
expect(schema.required).toEqual(["code"]);
|
||||
expect(schema.required).toEqual(["cells"]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user