Feat : browser agent v1.0
This commit is contained in:
1 parent
e9e2e3ecf2
commit
9f9907cedb
6 files changed
+96
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user