mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-30 20:50:21 +00:00
version fix
This commit is contained in:
parent
65bc834810
commit
aebd266154
7 changed files with 164 additions and 134 deletions
|
|
@ -10,11 +10,8 @@ from python.helpers.print_style import PrintStyle
|
|||
class TaskDone(Tool):
|
||||
|
||||
def execute(self,**kwargs):
|
||||
# superior = self.agent.get_data("superior")
|
||||
# if superior:
|
||||
self.agent.set_data("timeout", 0)
|
||||
return Response(message=self.args["text"], break_loop=True)
|
||||
# else:
|
||||
|
||||
def after_execution(self, response, **kwargs):
|
||||
pass # do add anything to the history or output
|
||||
Loading…
Add table
Add a link
Reference in a new issue