fix(webui): polish session titles and status

This commit is contained in:
Xubin Ren committed 2026-05-17 23:52:50 +08:00
1 parent 361f31c0e4
commit 2f323e24c1
10 files changed
+134 -27

No files matched your search

+2 -1
View File
@@ -167,8 +167,9 @@ export function ThreadShell({
useEffect(() => {
if (!chatId) return;
return client.onSessionUpdate((updatedChatId) => {
return client.onSessionUpdate((updatedChatId, scope) => {
if (updatedChatId !== chatId) return;
if (scope === "metadata") return;
pendingCanonicalHydrateRef.current.add(chatId);
refreshHistory();
});