Skip to content

Commit ca89676

Browse files
zimegsrtaalej
andcommitted
docs: match the sample app implementation
Co-authored-by: Maria Alejandra <[email protected]>
1 parent 9e5bb32 commit ca89676

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/english/concepts/message-sending.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ streamer = client.chat_stream(
5959
thread_ts=thread_ts,
6060
)
6161

62-
# response from your LLM of choice; OpenAI is the example here
62+
# Loop over OpenAI response stream
63+
# https://platform.openai.com/docs/api-reference/responses/create
6364
for event in returned_message:
6465
if event.type == "response.output_text.delta":
6566
streamer.append(markdown_text=f"{event.delta}")

0 commit comments

Comments
 (0)