feat: action enum for browser agent

This commit is contained in:
martin legrand
2025-04-08 13:35:21 +02:00
parent 469551c2b5
commit 60795111b0
5 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class BashInterpreter(Tools):
command = command.replace('\n', '')
if self.safe_mode and is_unsafe(commands):
return "Unsafe command detected, execution aborted."
if self.language_bash_attempt(command):
if self.language_bash_attempt(command) and allow_language_exec_bash == False:
continue
try:
process = subprocess.Popen(