Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Enable curl tool

Tomas Valenta8dc21dec067c
diff --git a/api-service/codegen/tools/playground/tools/code.py b/api-service/codegen/tools/playground/tools/code.py
index 95b2889b4..691a6688c 100644
--- a/api-service/codegen/tools/playground/tools/code.py
+++ b/api-service/codegen/tools/playground/tools/code.py
@@ -122,7 +122,7 @@ def create_code_tools(playground: NodeJSPlayground, mock: MockRequestFactory):
f"Curl result:\n{request_result}\nCode execution result:\n{server_result}"
)
- # yield run_javascript_code
+ yield curl_javascript_server
# @tool("RunJavaScriptCode")
# def run_javascript_code(code: str) -> str: