Skip to content

Commit 3cdbfa7

Browse files
Copilotmadebygps
andauthored
Add missing stream=True to chat_history_stream.py
Agent-Logs-Url: https://github.com/Azure-Samples/python-openai-demos/sessions/dc20822e-4221-41de-a86e-83c6dcdb0bb9 Co-authored-by: madebygps <6733686+madebygps@users.noreply.github.com>
1 parent 99cbe98 commit 3cdbfa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chat_history_stream.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
model=MODEL_NAME,
4242
messages=messages,
4343
temperature=0.7,
44+
stream=True,
4445
)
4546

4647
print("\nAnswer: ")

0 commit comments

Comments
 (0)