Skip to content

Commit d1528f4

Browse files
committed
💅 Update sleep
1 parent dc5eea6 commit d1528f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/reworkd_platform/web/api/agent/tools/stream_mock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ async def stream_generator(data: str, delayed: bool) -> AsyncGenerator[bytes, No
2121

2222
for token in token_data:
2323
yield encoding.decode([token]).encode("utf-8")
24-
await asyncio.sleep(0.075) # simulate slow processing
24+
await asyncio.sleep(0.025) # simulate slow processing
2525
else:
2626
yield data.encode()

0 commit comments

Comments
 (0)