fix(webui): preserve oversized turn history with record pagination (#6586)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-11 17:32:47 +08:00
1 parent 5c1083df7f
commit 3c61bcfdf0
34 files changed
+3466 -380

No files matched your search

+1 -1
View File
@@ -663,7 +663,7 @@ export function ThreadShell({
dismissStreamError,
} = useNanobotStream(
chatId, undefined, false, handleTurnEnd, undefined, undefined,
{ key: historyKey, cache: messageCacheRef.current },
{ key: historyKey, cache: messageCacheRef.current, temporary },
);
const displayMessages = useMemo(() => projectWebuiThreadMessages(messages), [messages]);
const initialHistoryLoading = loading;