mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
📑 docs: Update Mistral AI API example about dropParams (#1538)
This commit is contained in:
parent
d7b4ed3079
commit
74cf22b71b
2 changed files with 9 additions and 9 deletions
|
|
@ -49,12 +49,9 @@ endpoints:
|
|||
safe_mode: true # This field is specific to Mistral AI: https://docs.mistral.ai/api/
|
||||
|
||||
# Drop Default params parameters from the request. See default params in guide linked below.
|
||||
dropParams: ["stop", "temperature", "top_p"]
|
||||
# - stop # dropped since it's not recognized by Mistral AI API
|
||||
# `temperature` and `top_p` are removed to allow Mistral AI API defaults to be used:
|
||||
# - temperature
|
||||
# - top_p
|
||||
|
||||
# NOTE: For Mistral, it is necessary to drop the following parameters or you will encounter a 422 Error:
|
||||
dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
|
||||
|
||||
# OpenRouter.ai Example
|
||||
- name: "OpenRouter"
|
||||
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue