Skip to content

Commit 460b663

Browse files
authored
docs(assistants): correct on_text_delta example (#1896)
1 parent 83f4774 commit 460b663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)