Waiting for assistant runs api to complete

We need a stable professional way of handling the completion of the threads.runs
The examples people are showing right not are either very simple, i.e just loop and wait or use unique complicated error prone solutions.

Is there a preferred way e.g. using asynchronous ways to solve this in a proper way?

5 Likes

During the DevDay stream, Sam Altman mentioned streaming will be introduced… It’d be fantastic to know what that looks like early on.

2 Likes