Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Disable let human choose

Tomas Valentafac58ddb0c11
diff --git a/api-service/codegen/tools/human/tools.py b/api-service/codegen/tools/human/tools.py
index f3bc9fcb4..e33b135eb 100644
--- a/api-service/codegen/tools/human/tools.py
+++ b/api-service/codegen/tools/human/tools.py
@@ -36,14 +36,11 @@ def create_human_tools(
response: ToolsLogOutput = thread.get()
return response.response
- yield let_human_choose
+ # yield let_human_choose
@async_tool("AskHuman")
async def ask_human(question: str) -> str:
- """You can ask a human for guidance when you think you got stuck or you are not sure what to do next. The input should be a question. Example usage:
- <action tool="AskHuman">
- I'm not sure what to do, can you specify what should to do next?
- </action>"""
+ """You can ask a human for guidance when you think you got stuck or you are not sure what to do next. The input should be a question."""
thread: Any = playground.api.wait_for_log_output(
run_id=run_id,
async_req=True,