mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-02 22:02:13 +08:00
feat: adjust animation speed
This commit is contained in:
@@ -90,7 +90,7 @@ async function* chatReplayStream(
|
||||
} as ChatEvent;
|
||||
if (chatEvent.type === "message_chunk") {
|
||||
if (!chatEvent.data.finish_reason) {
|
||||
await sleepInReplay(250 + Math.random() * 250);
|
||||
await sleepInReplay(100 + Math.random() * 250);
|
||||
}
|
||||
} else if (chatEvent.type === "tool_call_result") {
|
||||
await sleepInReplay(1500);
|
||||
|
||||
Reference in New Issue
Block a user