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
+4
View File
@@ -37,10 +37,14 @@ class Tools():
self.work_dir = self.create_work_dir()
self.excutable_blocks_found = False
self.safe_mode = True
self.allow_language_exec_bash = False
def get_work_dir(self):
return self.work_dir
def set_allow_language_exec_bash(value: bool) -> None:
self.allow_language_exec_bash = value
def check_config_dir_validity(self):
"""Check if the config directory is valid."""
path = self.config['MAIN']['work_dir']