We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1ba81 commit 17e8ddcCopy full SHA for 17e8ddc
routers/messages.py
@@ -51,7 +51,7 @@ async def stream_response(
51
# Create a generator to stream the response from the assistant
52
53
async def event_generator():
54
- stream = openai.beta.threads.runs.stream(
+ stream: AsyncAssistantStreamManager = openai.beta.threads.runs.stream(
55
assistant_id=assistant_id,
56
thread_id=thread_id
57
)
0 commit comments