Spaces:
Sleeping
Sleeping
Update librechat.yaml
Browse files- librechat.yaml +21 -49
librechat.yaml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
# Configuration version (required)
|
| 2 |
version: 1.0.0
|
| 3 |
|
| 4 |
# Cache settings: Set to true to enable caching
|
|
@@ -8,62 +7,29 @@ cache: true
|
|
| 8 |
endpoints:
|
| 9 |
custom:
|
| 10 |
# Mistral AI API
|
| 11 |
-
- name: "Mistral"
|
| 12 |
-
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
| 13 |
-
# recommended environment variables:
|
| 14 |
apiKey: "${MISTRAL_API_KEY}"
|
| 15 |
baseURL: "https://api.mistral.ai/v1"
|
| 16 |
-
|
| 17 |
-
# Models configuration
|
| 18 |
models:
|
| 19 |
-
# List of default models to use. At least one value is required.
|
| 20 |
default: ["mistral-tiny", "mistral-small", "mistral-medium"]
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
# Title Conversation setting
|
| 27 |
-
titleConvo: true # Set to true to enable title conversation
|
| 28 |
-
|
| 29 |
-
# Title Method: Choose between "completion" or "functions".
|
| 30 |
-
titleMethod: "completion" # Defaults to "completion" if omitted.
|
| 31 |
-
|
| 32 |
-
# Title Model: Specify the model to use for titles.
|
| 33 |
-
titleModel: "mistral-tiny" # Defaults to "gpt-3.5-turbo" if omitted.
|
| 34 |
-
|
| 35 |
-
# Summarize setting: Set to true to enable summarization.
|
| 36 |
summarize: false
|
| 37 |
-
|
| 38 |
-
# Summary Model: Specify the model to use if summarization is enabled.
|
| 39 |
-
summaryModel: "mistral-tiny" # Defaults to "gpt-3.5-turbo" if omitted.
|
| 40 |
-
|
| 41 |
-
# Force Prompt setting: If true, sends a `prompt` parameter instead of `messages`.
|
| 42 |
forcePrompt: false
|
| 43 |
-
|
| 44 |
-
# The label displayed for the AI model in messages.
|
| 45 |
-
modelDisplayLabel: "Mistral" # Default is "AI" when not set.
|
| 46 |
-
|
| 47 |
-
# Add additional parameters to the request. Default params will be overwritten.
|
| 48 |
addParams:
|
| 49 |
-
safe_mode: true
|
| 50 |
-
|
| 51 |
-
# Drop Default params parameters from the request. See default params in guide linked below.
|
| 52 |
dropParams: ["stop", "temperature", "top_p"]
|
| 53 |
-
# - stop # dropped since it's not recognized by Mistral AI API
|
| 54 |
-
# `temperature` and `top_p` are removed to allow Mistral AI API defaults to be used:
|
| 55 |
-
# - temperature
|
| 56 |
-
# - top_p
|
| 57 |
|
| 58 |
-
# OpenRouter.ai
|
| 59 |
- name: "OpenRouter"
|
| 60 |
-
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
| 61 |
-
# recommended environment variables:
|
| 62 |
-
# Known issue: you should not use `OPENROUTER_API_KEY` as it will then override the `openAI` endpoint to use OpenRouter as well.
|
| 63 |
apiKey: "${OPENROUTER_KEY}"
|
| 64 |
baseURL: "https://openrouter.ai/api/v1"
|
| 65 |
models:
|
| 66 |
-
default: ["nousresearch/nous-capybara-7b:free", "mistralai/mistral-7b-instruct:free", "huggingfaceh4/zephyr-7b-beta:free"
|
| 67 |
fetch: true
|
| 68 |
titleConvo: true
|
| 69 |
titleModel: "gpt-3.5-turbo"
|
|
@@ -72,10 +38,8 @@ endpoints:
|
|
| 72 |
forcePrompt: false
|
| 73 |
modelDisplayLabel: "OpenRouter"
|
| 74 |
|
|
|
|
| 75 |
- name: "Reverse Proxy"
|
| 76 |
-
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
| 77 |
-
# recommended environment variables:
|
| 78 |
-
# Known issue: you should not use `OPENROUTER_API_KEY` as it will then override the `openAI` endpoint to use OpenRouter as well.
|
| 79 |
apiKey: "user_provided"
|
| 80 |
baseURL: "user_provided"
|
| 81 |
models:
|
|
@@ -88,5 +52,13 @@ endpoints:
|
|
| 88 |
forcePrompt: false
|
| 89 |
modelDisplayLabel: "AI"
|
| 90 |
|
| 91 |
-
#
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
version: 1.0.0
|
| 2 |
|
| 3 |
# Cache settings: Set to true to enable caching
|
|
|
|
| 7 |
endpoints:
|
| 8 |
custom:
|
| 9 |
# Mistral AI API
|
| 10 |
+
- name: "Mistral"
|
|
|
|
|
|
|
| 11 |
apiKey: "${MISTRAL_API_KEY}"
|
| 12 |
baseURL: "https://api.mistral.ai/v1"
|
|
|
|
|
|
|
| 13 |
models:
|
|
|
|
| 14 |
default: ["mistral-tiny", "mistral-small", "mistral-medium"]
|
| 15 |
+
fetch: true
|
| 16 |
+
titleConvo: true
|
| 17 |
+
titleMethod: "completion"
|
| 18 |
+
titleModel: "mistral-tiny"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
summarize: false
|
| 20 |
+
summaryModel: "mistral-tiny"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
forcePrompt: false
|
| 22 |
+
modelDisplayLabel: "Mistral"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
addParams:
|
| 24 |
+
safe_mode: true
|
|
|
|
|
|
|
| 25 |
dropParams: ["stop", "temperature", "top_p"]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
+
# OpenRouter.ai
|
| 28 |
- name: "OpenRouter"
|
|
|
|
|
|
|
|
|
|
| 29 |
apiKey: "${OPENROUTER_KEY}"
|
| 30 |
baseURL: "https://openrouter.ai/api/v1"
|
| 31 |
models:
|
| 32 |
+
default: ["nousresearch/nous-capybara-7b:free", "mistralai/mistral-7b-instruct:free", "huggingfaceh4/zephyr-7b-beta:free"]
|
| 33 |
fetch: true
|
| 34 |
titleConvo: true
|
| 35 |
titleModel: "gpt-3.5-turbo"
|
|
|
|
| 38 |
forcePrompt: false
|
| 39 |
modelDisplayLabel: "OpenRouter"
|
| 40 |
|
| 41 |
+
# Reverse Proxy
|
| 42 |
- name: "Reverse Proxy"
|
|
|
|
|
|
|
|
|
|
| 43 |
apiKey: "user_provided"
|
| 44 |
baseURL: "user_provided"
|
| 45 |
models:
|
|
|
|
| 52 |
forcePrompt: false
|
| 53 |
modelDisplayLabel: "AI"
|
| 54 |
|
| 55 |
+
# Google: Gemini 2.0 Flash Experimental
|
| 56 |
+
- name: "Google Gemini Flash"
|
| 57 |
+
label: "Google: Gemini 2.0 Flash Experimental"
|
| 58 |
+
showIconInMenu: true
|
| 59 |
+
showIconInHeader: true
|
| 60 |
+
default: false
|
| 61 |
+
preset:
|
| 62 |
+
endpoint: "google"
|
| 63 |
+
model: "gemini-2.0-flash-exp"
|
| 64 |
+
modelLabel: "Google: Gemini 2.0 Flash Experimental"
|