Mistral AI
Mistral API key: console.mistral.ai
Notes:
-
Known: icon provided, special handling of message roles: system message is only allowed at the top of the messages payload.
-
API is strict with unrecognized parameters and errors are not descriptive (usually “no body”)
- The use of
dropParams
to drop “user”, “frequency_penalty”, “presence_penalty” params is required. stop
is no longer included as a default parameter, so there is no longer a need to include it indropParams
, unless you would like to completely prevent users from configuring this field.
- The use of
-
Allows fetching the models list, but be careful not to use embedding models for chat.
librechat.yaml
- name: "Mistral"
apiKey: "${MISTRAL_API_KEY}"
baseURL: "https://api.mistral.ai/v1"
models:
default: ["mistral-tiny", "mistral-small", "mistral-medium", "mistral -large-latest"]
fetch: true
titleConvo: true
titleModel: "mistral-tiny"
modelDisplayLabel: "Mistral"
dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]