Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Update packages/python-sdk/e2b/sandbox/process.py
Tomas Valentac4407e25d6b8
diff --git a/packages/python-sdk/e2b/sandbox/process.py b/packages/python-sdk/e2b/sandbox/process.pyindex 2eaa8c7c8..04d0df8cf 100644--- a/packages/python-sdk/e2b/sandbox/process.py+++ b/packages/python-sdk/e2b/sandbox/process.py@@ -333,7 +333,7 @@ class ProcessManager:if len(params) == 0:on_exit()elif len(params) == 1:- on_exit(*[output.exit_code or 0])+ on_exit(output.exit_code or 0)else:raise TypeError(f"on_exit callback must take 0 or 1 arguments, not {len(params)}"