Skip to content

fix: memoize object-content messages in CopilotChat fingerprint (#6327) - #6412

Open
Samarth1306w wants to merge 1 commit into
CopilotKit:mainfrom
Samarth1306w:fix/copilot-chat-memo-object-content-6327
Open

fix: memoize object-content messages in CopilotChat fingerprint (#6327)#6412
Samarth1306w wants to merge 1 commit into
CopilotKit:mainfrom
Samarth1306w:fix/copilot-chat-memo-object-content-6327

Conversation

@Samarth1306w

Copy link
Copy Markdown

Fixes #6327

Summary

  1. ****: Added using for object-content messages (activity/tool messages) to ensure invalidates when object-content properties update.
  2. ****: Updated logic to handle non-string object/array message content when computing and states.

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.

useMemo fingerprint in CopilotChat ignores object-content messages (activity/tool messages never trigger re-render)

1 participant