Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add comment
Tomas Valenta8fa749fccc3a
diff --git a/api-service/codegen/tools/playground/tools/code.py b/api-service/codegen/tools/playground/tools/code.pyindex 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_typeslast_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: