feat(coding-agent/core): changed timeout units to milliseconds in Python tool
- Changed timeout parameter from seconds to milliseconds in Python tool. - Updated PythonExecutorOptions interface to use timeoutMs instead of timeout. - Improved streaming output handling by removing async queuing and simplifying buffer management. - Updated default timeout to 30000ms for Python tool execution.
This commit is contained in:
@@ -26,7 +26,7 @@ describe("executePythonWithKernel cancellation", () => {
|
||||
},
|
||||
);
|
||||
|
||||
const result = await executePythonWithKernel(kernel, "sleep(10)", { timeout: 5000 });
|
||||
const result = await executePythonWithKernel(kernel, "sleep(10)", { timeoutMs: 5000 });
|
||||
|
||||
expect(result.cancelled).toBe(true);
|
||||
expect(result.exitCode).toBeUndefined();
|
||||
|
||||
Reference in New Issue
Block a user