Skip to content

Commit

Permalink
📑 docs: fix mistral ai api example safe_mode --> safe_prompt (dan…
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila authored Jan 13, 2024
1 parent 30f64c2 commit 4ed0089
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/install/configuration/custom_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ endpoints:
forcePrompt: false
modelDisplayLabel: "Mistral"
addParams:
safe_mode: true
safe_prompt: true
# 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"]
```
Expand Down Expand Up @@ -242,7 +242,7 @@ endpoints:
- **Example**:
```yaml
addParams:
safe_mode: true
safe_prompt: true
```

### **dropParams**:
Expand Down Expand Up @@ -315,7 +315,7 @@ endpoints:
forcePrompt: false
modelDisplayLabel: "Mistral"
addParams:
safe_mode: true
safe_prompt: true
# 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"]
Expand Down
2 changes: 1 addition & 1 deletion librechat.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ endpoints:

# Add additional parameters to the request. Default params will be overwritten.
addParams:
safe_mode: true # This field is specific to Mistral AI: https://docs.mistral.ai/api/
safe_prompt: 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.
# NOTE: For Mistral, it is necessary to drop the following parameters or you will encounter a 422 Error:
Expand Down

0 comments on commit 4ed0089

Please sign in to comment.