Files
copilotkit__copilotkit/.changeset/fix-thread-shared-state.md

273 B

@copilotkit/react-core
@copilotkit/react-core
patch

Fix multiple CopilotChat components with different threadIds sharing message state. The useAgent hook now creates per-thread agent clones when threadId is provided, ensuring each chat instance maintains isolated messages and state.