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 result mapping", () => {
|
||||
stdinRequested: false,
|
||||
});
|
||||
|
||||
const result = await executePythonWithKernel(kernel, "sleep()", { timeout: 5000 });
|
||||
const result = await executePythonWithKernel(kernel, "sleep()", { timeoutMs: 5000 });
|
||||
|
||||
expect(result.exitCode).toBeUndefined();
|
||||
expect(result.cancelled).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user