mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-05 09:58:45 +00:00
timestamp log fix
This commit is contained in:
1 parent
ea078affac
commit
7dcfd6af6a
2 files changed
+9
-6
No files matched your search
@@ -137,8 +137,8 @@ class LogItem:
|
||||
agent_number: int = 0 # Agent number (0 = main agent, 1+ = subordinate agents)
|
||||
|
||||
def __post_init__(self):
|
||||
self.guid = self.log.guid
|
||||
self.timestamp = time.time()
|
||||
self.guid = self.guid or self.log.guid
|
||||
self.timestamp = self.timestamp or time.time()
|
||||
|
||||
def update(
|
||||
self,
|
||||
|
||||
Reference in new issue
Block a user