Skip to content

Commit bc122c7

Browse files
baballevstainless-app[bot]
authored andcommitted
docs(assistants): correct on_text_delta example (openai#1896)
1 parent df92ec5 commit bc122c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/openai/lib/streaming/_assistants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def on_text_delta(self, delta: TextDelta, snapshot: Text) -> None:
243243
on_text_delta(TextDelta(value=" solution"), Text(value="The solution")),
244244
on_text_delta(TextDelta(value=" to"), Text(value="The solution to")),
245245
on_text_delta(TextDelta(value=" the"), Text(value="The solution to the")),
246-
on_text_delta(TextDelta(value=" equation"), Text(value="The solution to the equivalent")),
246+
on_text_delta(TextDelta(value=" equation"), Text(value="The solution to the equation")),
247247
"""
248248

249249
def on_text_done(self, text: Text) -> None:

0 commit comments

Comments
 (0)