Skip to content

Commit 1034eef

Browse files
wreed4zzstoatzz
andauthored
Fix agent printing too often while thinking (#1172)
* Fix agent printing too often while thinking * Update src/marvin/handlers/print_handler.py * ruff format --------- Co-authored-by: nate nowack <[email protected]>
1 parent c247bcd commit 1034eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/marvin/handlers/print_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def on_actor_message_delta(self, event: ActorMessageDeltaEvent):
230230
# Create a stable ID from actor ID and message index
231231
actor_id = str(event.actor.id)
232232
# Use the timestamp as part of the stable ID to handle multiple messages from same actor
233-
msg_time = event.timestamp.isoformat()
233+
msg_time = event.timestamp.isoformat(timespec="hours")
234234
event_id = f"{actor_id}_{msg_time}"
235235

236236
# Create or update the panel

0 commit comments

Comments
 (0)