Update librechat.yaml
Browse files- librechat.yaml +6 -62
librechat.yaml
CHANGED
@@ -4,31 +4,6 @@ version: 1.0.3
|
|
4 |
# Cache settings: Set to true to enable caching
|
5 |
cache: true
|
6 |
|
7 |
-
# fileConfig:
|
8 |
-
# endpoints:
|
9 |
-
# assistants:
|
10 |
-
# fileLimit: 5
|
11 |
-
# fileSizeLimit: 10 # Maximum size for an individual file in MB
|
12 |
-
# totalSizeLimit: 50 # Maximum total size for all files in a single request in MB
|
13 |
-
# supportedMimeTypes:
|
14 |
-
# - "image/.*"
|
15 |
-
# - "application/pdf"
|
16 |
-
# openAI:
|
17 |
-
# disabled: true # Disables file uploading to the OpenAI endpoint
|
18 |
-
# default:
|
19 |
-
# totalSizeLimit: 20
|
20 |
-
# YourCustomEndpointName:
|
21 |
-
# fileLimit: 2
|
22 |
-
# fileSizeLimit: 5
|
23 |
-
# serverFileSizeLimit: 100 # Global server file size limit in MB
|
24 |
-
# avatarSizeLimit: 2 # Limit for user avatar image size in MB
|
25 |
-
# rateLimits:
|
26 |
-
# fileUploads:
|
27 |
-
# ipMax: 100
|
28 |
-
# ipWindowInMinutes: 60 # Rate limit window for file uploads per IP
|
29 |
-
# userMax: 50
|
30 |
-
# userWindowInMinutes: 60 # Rate limit window for file uploads per user
|
31 |
-
|
32 |
# Definition of custom endpoints
|
33 |
endpoints:
|
34 |
# assistants:
|
@@ -40,46 +15,15 @@ endpoints:
|
|
40 |
# # excludedIds: ["asst_excludedAssistantId"]
|
41 |
custom:
|
42 |
# Mistral AI API
|
43 |
-
- name: "Mistral"
|
44 |
-
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
45 |
-
# recommended environment variables:
|
46 |
apiKey: "${MISTRAL_API_KEY}"
|
47 |
baseURL: "https://api.mistral.ai/v1"
|
48 |
-
|
49 |
-
# Models configuration
|
50 |
-
models:
|
51 |
-
# List of default models to use. At least one value is required.
|
52 |
default: ["mistral-tiny-latest", "mistral-small-latest", "mistral-medium-latest", "mistral-large-latest"]
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
# Title Conversation setting
|
59 |
-
titleConvo: true # Set to true to enable title conversation
|
60 |
-
|
61 |
-
# Title Method: Choose between "completion" or "functions".
|
62 |
-
# titleMethod: "completion" # Defaults to "completion" if omitted.
|
63 |
-
|
64 |
-
# Title Model: Specify the model to use for titles.
|
65 |
-
titleModel: "mistral-tiny" # Defaults to "gpt-3.5-turbo" if omitted.
|
66 |
-
|
67 |
-
# Summarize setting: Set to true to enable summarization.
|
68 |
-
# summarize: false
|
69 |
-
|
70 |
-
# Summary Model: Specify the model to use if summarization is enabled.
|
71 |
-
# summaryModel: "mistral-tiny" # Defaults to "gpt-3.5-turbo" if omitted.
|
72 |
-
|
73 |
-
# Force Prompt setting: If true, sends a `prompt` parameter instead of `messages`.
|
74 |
-
# forcePrompt: false
|
75 |
-
|
76 |
-
# The label displayed for the AI model in messages.
|
77 |
-
modelDisplayLabel: "Mistral" # Default is "AI" when not set.
|
78 |
-
|
79 |
-
# Add additional parameters to the request. Default params will be overwritten.
|
80 |
-
# addParams:
|
81 |
-
# safe_prompt: true # This field is specific to Mistral AI: https://docs.mistral.ai/api/
|
82 |
-
|
83 |
# Drop Default params parameters from the request. See default params in guide linked below.
|
84 |
# NOTE: For Mistral, it is necessary to drop the following parameters or you will encounter a 422 Error:
|
85 |
dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
|
|
|
4 |
# Cache settings: Set to true to enable caching
|
5 |
cache: true
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Definition of custom endpoints
|
8 |
endpoints:
|
9 |
# assistants:
|
|
|
15 |
# # excludedIds: ["asst_excludedAssistantId"]
|
16 |
custom:
|
17 |
# Mistral AI API
|
18 |
+
- name: "Mistral"
|
|
|
|
|
19 |
apiKey: "${MISTRAL_API_KEY}"
|
20 |
baseURL: "https://api.mistral.ai/v1"
|
21 |
+
models:
|
|
|
|
|
|
|
22 |
default: ["mistral-tiny-latest", "mistral-small-latest", "mistral-medium-latest", "mistral-large-latest"]
|
23 |
+
fetch: true
|
24 |
+
titleConvo: true
|
25 |
+
titleModel: "mistral-tiny"
|
26 |
+
modelDisplayLabel: "Mistral"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
# Drop Default params parameters from the request. See default params in guide linked below.
|
28 |
# NOTE: For Mistral, it is necessary to drop the following parameters or you will encounter a 422 Error:
|
29 |
dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
|