Skip to content

Commit 95fa53b

Browse files
committed
test: adjust mock stream timing delays in toolFlows
Increase delays between stream deltas to better simulate realistic streaming behavior. Changes spacing from 2x+300ms, 2x+400ms to 3x+50ms, 3x+150ms, and extends final delay to 3x+500ms for more natural pacing in mock scenarios.
1 parent 103aaea commit 95fa53b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/mock/scenarios/toolFlows.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,17 @@ const listDirectoryTurn: ScenarioTurn = {
110110
},
111111
{
112112
kind: "stream-delta",
113-
delay: STREAM_BASE_DELAY * 2 + 300,
113+
delay: STREAM_BASE_DELAY * 3 + 50,
114114
text: "- package.json\n",
115115
},
116116
{
117117
kind: "stream-delta",
118-
delay: STREAM_BASE_DELAY * 2 + 400,
118+
delay: STREAM_BASE_DELAY * 3 + 150,
119119
text: "- src",
120120
},
121121
{
122122
kind: "stream-end",
123-
delay: STREAM_BASE_DELAY * 3,
123+
delay: STREAM_BASE_DELAY * 3 + 500,
124124
metadata: {
125125
model: "openai:gpt-5",
126126
inputTokens: 74,

0 commit comments

Comments
 (0)