Commit 3ad59995

Vincent Josse <baballev@users.noreply.github.com>
2024-11-27 18:35:24
docs(assistants): correct on_text_delta example (#1896)
1 parent 83f4774
Changed files (1)
src
openai
lib
streaming
src/openai/lib/streaming/_assistants.py
@@ -243,7 +243,7 @@ class AssistantEventHandler:
         on_text_delta(TextDelta(value=" solution"), Text(value="The solution")),
         on_text_delta(TextDelta(value=" to"), Text(value="The solution to")),
         on_text_delta(TextDelta(value=" the"), Text(value="The solution to the")),
-        on_text_delta(TextDelta(value=" equation"), Text(value="The solution to the equivalent")),
+        on_text_delta(TextDelta(value=" equation"), Text(value="The solution to the equation")),
         """
 
     def on_text_done(self, text: Text) -> None: