When I was building my code using the assistant API, I adopted the streaming response and used the client.beta.threads.runs.stream() function according to the documentation, but this function disappeared a few days ago. Later, I tried other functions and resolved this issue using the client.beta.threads.runs.create_and_stream() function. However, a few days later, this function also stopped responding. I would like to know why this is happening and what function I should use to handle the output?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How do you use OpenAIStream in Assistant Threads | 3 | 3672 | November 17, 2023 | |
Streaming assistant responses | 4 | 1783 | January 16, 2024 | |
How do you stream assistants API responses? | 4 | 2809 | January 9, 2024 | |
Assistant API now supports streaming... but possible over curl? | 2 | 889 | May 11, 2024 | |
Function calling is not supported to Streaming Assistant | 2 | 1389 | May 17, 2024 |