Support Mistral API call
Allow to set Mistral AI API calls by
removing the presence_penalty
parameter from API calls that cause
this issue :
response: undefined, failed to send message to openai: Error: OpenAI error 422: {"object":"error","message":"{"detail":[{"type":"extra_forbidden","loc":["body","presence_penalty"],"msg":"Extra inputs are not permitted","input":1,"url":"[https://errors.pydantic.dev/2.5/v/extra_forbidden](https://errors.pydantic.dev/2.5/v/extra_forbidden/)"}]}","type":"internal_error_proxy","param":null,"code":"1000"}, backtrace: Error: OpenAI error 422: {"object":"error","message":"{"detail":[{"type":"extra_forbidden","loc":["body","presence_penalty"],"msg":"Extra inputs are not permitted","input":1,"url":"[https://errors.pydantic.dev/2.5/v/extra_forbidden](https://errors.pydantic.dev/2.5/v/extra_forbidden/)"}]}","type":"internal_error_proxy","param":null,"code":"1000"}