Skip to content

fix(agent): persist tool-call CorrelationID for reload-stable rendering#118

Merged
hung12ct merged 1 commit into
mainfrom
fix/tool-call-correlation-id
May 31, 2026
Merged

fix(agent): persist tool-call CorrelationID for reload-stable rendering#118
hung12ct merged 1 commit into
mainfrom
fix/tool-call-correlation-id

Conversation

@hung12ct
Copy link
Copy Markdown
Owner

Live events expose the opaque per-dispatch callID while the persisted tool row carried only the provider tCall.ID — disjoint namespaces, so consumer-rendered artifact cards could not re-match after reload. Add history.Message.CorrelationID stamped with callID; ToolCallID stays the provider ID for tool_use/tool_result adjacency.

Live events expose the opaque per-dispatch callID while the persisted
tool row carried only the provider tCall.ID — disjoint namespaces, so
consumer-rendered artifact cards could not re-match after reload. Add
history.Message.CorrelationID stamped with callID; ToolCallID stays the
provider ID for tool_use/tool_result adjacency.
@hung12ct hung12ct merged commit a2f35e7 into main May 31, 2026
1 check passed
@hung12ct hung12ct deleted the fix/tool-call-correlation-id branch May 31, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant