Skip to content

Commit e2de3a3

Browse files
author
Francisco
committed
Reduce response for streaming
1 parent 08fa220 commit e2de3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mock_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def mock_streaming_response():
4848
"after token, chunk after chunk, until the entire response is completed. "
4949
"For the purpose of this mock, we are repeating a small text many times to simulate "
5050
"a much larger response. "
51-
) * 3 # Repeat the text 3 times to simulate a large response
51+
)
5252

5353
# Break the long text into small chunks
5454
chunk_size = 7 # Number of characters per chunk

0 commit comments

Comments
 (0)