Feat : browser agent v1.0

This commit is contained in:
martin legrand
2025-03-11 15:22:42 +01:00
parent e9e2e3ecf2
commit 9f9907cedb
6 changed files with 96 additions and 10 deletions
+2 -2
View File
@@ -77,11 +77,11 @@ class Tools():
return dir_path
@abstractmethod
def execute(self, blocks:str, safety:bool) -> str:
def execute(self, blocks:[str], safety:bool) -> str:
"""
Abstract method that must be implemented by child classes to execute the tool's functionality.
Args:
blocks (str): The code or query blocks to execute
blocks (List[str]): The codes or queries blocks to execute
safety (bool): Whenever human intervention is required
Returns:
str: The output/result from executing the tool