feat: fast-forward in mock mode

This commit is contained in:
Li Xin
2025-05-08 12:05:15 +08:00
parent e7871cf2bf
commit 5c7414ec50

View File

@@ -82,6 +82,7 @@ async function* chatReplayStream(
? "/mock/before-interrupt.txt" ? "/mock/before-interrupt.txt"
: "/mock/after-interrupt.txt"; : "/mock/after-interrupt.txt";
} }
fastForwardReplaying = true;
} else { } else {
const replayId = extractReplayIdFromSearchParams(window.location.search); const replayId = extractReplayIdFromSearchParams(window.location.search);
if (replayId) { if (replayId) {