Mistral REST API has been made stricter and now rejects extra/unknown parameters, which causes ChatRequest calls to fails as they are done with a SafeMode parameter, but API expects a SafePrompt one. There was a typo in the original Mistral documentation.
Mistral REST API has been made stricter and now rejects extra/unknown parameters, which causes ChatRequest calls to fails as they are done with a
SafeMode
parameter, but API expects aSafePrompt
one. There was a typo in the original Mistral documentation.Read here: https://discord.com/channels/1144547040454508606/1184444810279522374/1195108690353717369
This change fixes the API call and we are no longer getting a
422 Unprocessable Entity
.