test: harden webui and gateway checks

This commit is contained in:
chengyongru
2026-06-27 11:04:11 +08:00
committed by Xubin Ren
parent 9ce9d2235a
commit 64901be67f
8 changed files with 360 additions and 3 deletions
@@ -494,6 +494,7 @@ export function ThreadShell({
return client.onSessionUpdate((updatedChatId, scope) => {
if (updatedChatId !== chatId) return;
if (scope === "metadata") return;
viewportRef.current?.cancelAutoScroll();
pendingCanonicalHydrateRef.current.add(chatId);
refreshHistory();
});