fix(webui): keep completed turns terminal across late events (#5991)

* fix(webui): keep completed turns terminal across late events

* test(webui): align app layout client mock with completion API
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-30 17:40:11 +08:00
1 parent 450a85fe0e
commit 678cd8f4a7
5 files changed
+307 -27

No files matched your search

+1
View File
@@ -265,6 +265,7 @@ vi.mock("@/lib/nanobot-client", async (importOriginal) => {
};
getRunStartedAt = () => null;
getRunTurnId = () => null;
fenceCanonicalCompletedTurns = vi.fn();
getGoalState = () => undefined;
sendMessage = sendMessageSpy;
newChat = vi.fn();