You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π fix(copilot): history popover not refreshing when agentId changes (lobehub#11731)
* π fix(copilot): sync chatStore activeAgentId when switching agent
When user switches agent in Copilot toolbar, also update useChatStore's
activeAgentId to keep both stores in sync. This ensures topic selectors
and other chatStore-dependent features work correctly.
* π style(copilot): show loading state for history button when switching agent
- Show loading/disabled state while topics are being fetched
- Only hide the button when confirmed there are no topics
- Improves UX by avoiding sudden button disappearance during agent switch
0 commit comments