mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-16 11:24:45 +08:00
feat: change replay speed
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user