Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Merge branch 'master' of https://github.com/devbookhq/ai-api

Vasek Mlejnsky386b66a18083
diff --cc api-service/codegen/codegen.py
index b09068e6f,035947f5d..a60f5c63b
--- a/api-service/codegen/codegen.py
+++ b/api-service/codegen/codegen.py
@@@ -12,11 -12,11 +12,11 @@@ from database import Databas
def generate_req_handler(
db: Database,
run_id: str,
- blocks: List[str],
+ blocks: Dict,
method: str,
envs: List[Dict[str, str]],
- ) -> str:
- # playground, tools = create_playground_tools()
+ ):
+ playground_tools, playground = create_playground_tools()
executor = create_js_agent(
db=db,