Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix local debug option in python SDK
Jakub Novakf0f53677d92c
diff --git a/packages/python-sdk/e2b/constants.py b/packages/python-sdk/e2b/constants.pyindex 7ae087fac..a7fdf380a 100644--- a/packages/python-sdk/e2b/constants.py+++ b/packages/python-sdk/e2b/constants.py@@ -4,13 +4,11 @@ SANDBOX_REFRESH_PERIOD = 5 # secondsTIMEOUT = 60-SECURE = os.getenv("E2B_SECURE", "TRUE").upper() == "TRUE"DEBUG = os.getenv("E2B_DEBUG") or FalsePROTOCOL = "https" if SECURE and not DEBUG else "http"--DOMAIN = os.getenv("E2B_DOMAIN") or "e2b.dev"+DOMAIN = os.getenv("E2B_DOMAIN") or (DEBUG and "localhost:3000") or "e2b.dev"ENVD_PORT = 49982WS_ROUTE = "/ws"