Skip to content
Discussion options

You must be logged in to vote

Thanks for digging into this. Your collision concern is valid.

ActivitySnapshotEvent.message_id identifies the target ActivityMessage. AG-UI clients use that ID to locate and replace an existing activity in the message collection. Reusing an ID for updates to the same logical activity is expected. For example, an activity’s in-progress and completed snapshots should share an ID. Reusing it for a distinct activity in a later run can replace the earlier activity, as you observed.

The AG-UI documentation describes a message ID as unique but does not explicitly define whether that means globally unique or thread-scoped. At minimum, it must be unique among distinct messages that can coexist in…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@moonbox3
Comment options

@mjod
Comment options

Answer selected by moonbox3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants