fix: enable manual timeline summary override when switching chats (#4636)

This commit is contained in:
Whitewater 2025-10-31 18:31:56 +08:00 committed by GitHub
parent a9e8d1be38
commit 5c8fd4b726
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -107,7 +107,12 @@ export const ChatHistoryDropdown = ({
{sessions.map((session) => (
<DropdownMenuItem
key={session.chatId}
onClick={() => startTransition(() => chatActions.switchToChat(session.chatId))}
onClick={() =>
startTransition(() => {
chatActions.setTimelineSummaryManualOverride(true)
chatActions.switchToChat(session.chatId)
})
}
className="group flex h-8 cursor-pointer items-center justify-between rounded-md px-2 py-3"
>
<div className="min-w-0 flex-1">