You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this error is shown: mistralai.models.sdkerror.SDKError: Unexpected response received (code: 200, type: text/event-stream; charset=utf-8): Status 200
I know that client.chat.stream() exists, but client.chat.complete() has also a param called stream, meaning that it could be used to stream a response.
Suggested Solutions
No response
The text was updated successfully, but these errors were encountered:
Python -VV
Pip Freeze
Reproduction Steps
Expected Behavior
Expacted response:
data=CompletionChunk(id='46230b1e187746a386e70340b2ab9297', model='mistral-small-latest', choices=[CompletionResponseStreamChoice(index=0, delta=DeltaMessage(role='assistant', content='', tool_calls=Unset()), finish_reason=None)], object='chat.completion.chunk', created=1735207005, usage=None)
Additional Context
But this error is shown:
mistralai.models.sdkerror.SDKError: Unexpected response received (code: 200, type: text/event-stream; charset=utf-8): Status 200
I know that
client.chat.stream()
exists, butclient.chat.complete()
has also a param calledstream
, meaning that it could be used to stream a response.Suggested Solutions
No response
The text was updated successfully, but these errors were encountered: