mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 11:40:47 +00:00
messages redesign wip
This commit is contained in:
parent
e15b959eee
commit
a769cb858f
21 changed files with 808 additions and 741 deletions
|
|
@ -42,9 +42,9 @@ class Tool:
|
|||
|
||||
def get_log_object(self):
|
||||
if self.method:
|
||||
heading = f"{self.agent.agent_name}: Using tool '{self.name}:{self.method}'"
|
||||
heading = f"icon://construction {self.agent.agent_name}: Using tool '{self.name}:{self.method}'"
|
||||
else:
|
||||
heading = f"{self.agent.agent_name}: Using tool '{self.name}'"
|
||||
heading = f"icon://construction {self.agent.agent_name}: Using tool '{self.name}'"
|
||||
return self.agent.context.log.log(type="tool", heading=heading, content="", kvps=self.args)
|
||||
|
||||
def nice_key(self, key:str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue