mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-08 09:59:53 +00:00
CET input tool hotfix allow_running
This commit is contained in:
parent
30d0b5ae8d
commit
d02bb56ff9
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class Input(Tool):
|
|||
session = int(self.args.get("session", 0))
|
||||
|
||||
# forward keyboard input to code execution tool
|
||||
args = {"runtime": "terminal", "code": keyboard, "session": session}
|
||||
args = {"runtime": "terminal", "code": keyboard, "session": session, "allow_running": True}
|
||||
cet = CodeExecution(self.agent, "code_execution_tool", "", args, self.message, self.loop_data)
|
||||
cet.log = self.log
|
||||
return await cet.execute(**args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue