openai.chat.completions responses are converted to OpenAIStream and then returned to the client as a StreamingTextResponse.
This should be doable with AssistantResponses too. It seems like they are already converted to a stream but not streamed to the client. Instead the useAssistant waits for the full message to display it.
Feature Description
openai.chat.completions responses are converted to
OpenAIStream
and then returned to the client as aStreamingTextResponse
.This should be doable with AssistantResponses too. It seems like they are already converted to a stream but not streamed to the client. Instead the
useAssistant
waits for the full message to display it.Would love a way to stream it.
Use Case
No response
Additional context
No response