Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Update reconnect_2.py
Vasek Mlejnskyfd9a7f15524e
diff --git a/apps/web/src/code/python/reconnect/reconnect_2.py b/apps/web/src/code/python/reconnect/reconnect_2.pyindex e3ba516a3..fd02528a3 100644--- a/apps/web/src/code/python/reconnect/reconnect_2.py+++ b/apps/web/src/code/python/reconnect/reconnect_2.py@@ -5,10 +5,10 @@ sandbox.filesystem.write('hello.txt', 'Hello World!')sandboxID = sandbox.id# Keep the sandbox alive for 2 minutes-sandbox.keep_alive(60 * 60) # $HighlightLine+sandbox.keep_alive(60 * 2) # $HighlightLine# Close the sandbox. Even if we close the sandbox, it will stay alive, because we explicitly called keep_alive().sandbox.close()# Do something else...-time.sleep(60)\ No newline at end of file+time.sleep(60)