CET input tool hotfix allow_running
frdel committed
Oct 6, 2025 at 12:22 UTC
d02bb56ff9533c9d80708ad9f180b0ed6dbc0c71
1 file changed
+1
-1
python/tools/input.py
+1
-1
@@ -14,7 +14,7 @@ class Input(Tool):
14
session = int(self.args.get("session", 0))
15
16
# forward keyboard input to code execution tool
17
- args = {"runtime": "terminal", "code": keyboard, "session": session}
17
+ args = {"runtime": "terminal", "code": keyboard, "session": session, "allow_running": True}
18
cet = CodeExecution(self.agent, "code_execution_tool", "", args, self.message, self.loop_data)
19
cet.log = self.log
20
return await cet.execute(**args)