frdel commited on
Commit
6ef0f89
·
1 Parent(s): b023d34

CET input allow_running fix

Browse files
Files changed (1) hide show
  1. python/tools/input.py +1 -1
python/tools/input.py CHANGED
@@ -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}
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)
 
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, "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)