From 549f386d546187a02bde3ea26912e477d8ae8561 Mon Sep 17 00:00:00 2001 From: Li Xin Date: Thu, 1 May 2025 14:53:53 +0800 Subject: [PATCH] feat: change replay speed --- web/src/core/api/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/core/api/chat.ts b/web/src/core/api/chat.ts index 0a95fa2..627d533 100644 --- a/web/src/core/api/chat.ts +++ b/web/src/core/api/chat.ts @@ -97,7 +97,7 @@ async function* chatReplayStream( } as ChatEvent; if (chatEvent.type === "message_chunk") { if (!chatEvent.data.finish_reason) { - await sleepInReplay(100 + Math.random() * 175); + await sleepInReplay(50); } } else if (chatEvent.type === "tool_call_result") { await sleepInReplay(500);