{"detail":"Extra parameters ['safe_prompt'] are not allowed when extra-parameters is not set or set to be 'error'. Set extra-parameters to 'pass-through' to pass to the model."}
Prasenjit
5
Reputation points
Hi,
I have a working code, it suddenly getting following exception:
httpx.HTTPStatusError: Error response 400 while fetching https://mistral-nemo-iggff.swedencentral.models.ai.azure.com/chat/completions: {"detail":"Extra parameters ['safe_prompt'] are not allowed when extra-parameters is not set or set to be 'error'. Set extra-parameters to 'pass-through' to pass to the model."}
I am using langchain ChatMistralAI to initiate the connection. How can I fix it? this code was working for last 15 days and no changes were deployed. suddenly I'm getting this issue.
Sign in to answer