with client.beta.threads.runs.stream(
thread_id=thread_id,
assistant_id=ASS_ID,
) as stream:
With the above, I get this error: AttributeError: 'Runs' object has no attribute 'stream'
, meanwhile it is there.
When I decide to use the AssistantEventHandler, I get this AttributeError: 'Runs' object has no attribute 'stream'
.
Meanwhile, when I import AssistantEventHandler
to a Jupyter notebook, it imports, but in my script, I get that error.
I’m on version 1.45.1, I downgraded to 1.42.0 but got the same errors.