mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-01 05:00:34 +00:00
messages redesign wip
This commit is contained in:
parent
e15b959eee
commit
a769cb858f
21 changed files with 808 additions and 741 deletions
|
|
@ -20,7 +20,7 @@ class Input(Tool):
|
|||
return await cet.execute(**args)
|
||||
|
||||
def get_log_object(self):
|
||||
return self.agent.context.log.log(type="code_exe", heading=f"{self.agent.agent_name}: Using tool '{self.name}'", content="", kvps=self.args)
|
||||
return self.agent.context.log.log(type="code_exe", heading=f"icon://keyboard {self.agent.agent_name}: Using tool '{self.name}'", content="", kvps=self.args)
|
||||
|
||||
async def after_execution(self, response, **kwargs):
|
||||
self.agent.hist_add_tool_result(self.name, response.message)
|
||||
Loading…
Add table
Add a link
Reference in a new issue