Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add comment

Tomas Valenta8fa749fccc3a
diff --git a/api-service/codegen/tools/playground/tools/code.py b/api-service/codegen/tools/playground/tools/code.py
index 52105f094..d3f7f8d7b 100644
--- a/api-service/codegen/tools/playground/tools/code.py
+++ b/api-service/codegen/tools/playground/tools/code.py
@@ -80,6 +80,7 @@ def create_code_tools(playground: NodeJSPlayground, mock: MockRequestFactory):
# yield check_typescript_code_types
last_javascript_code: str | None
+ # TODO: Add timeout that stops the code execution if it doesn't stop after some time
# This tool is just for executing JavaScript without doing the request to server
@tool("RunJavaScriptCode")
def run_javascript_code(code: str) -> str: