Python -VV
Pip Freeze
Reproduction Steps
client = Mistral(api_key='correct api key')
client.chat.complete(model='invalid model name', messages=messages)
Expected Behavior
excepted to getting the assistant message returning the error "Requested model is unsupported"...
... without resorting to a breakpoint in chat.py
Additional Context
Pydantic ValidationError
Suggested Solutions
Dunno, perhaps don't shadow the server responses with pydantic?