Mikhail W
commited on
Commit
•
c0c5e38
1
Parent(s):
bb1e07c
Update librechat.yaml
Browse files- librechat.yaml +31 -72
librechat.yaml
CHANGED
@@ -1,70 +1,25 @@
|
|
1 |
-
|
2 |
-
version: 1.0.0
|
3 |
|
4 |
-
|
5 |
-
|
6 |
|
7 |
-
# Definition of custom endpoints
|
8 |
endpoints:
|
9 |
custom:
|
10 |
-
#
|
11 |
-
- name: "Mistral" # Unique name for the endpoint
|
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 |
-
# Fetch option: Set to true to fetch models from API.
|
22 |
-
fetch: true # Defaults to false.
|
23 |
-
|
24 |
-
# Optional configurations
|
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 # This field is specific to Mistral AI: https://docs.mistral.ai/api/
|
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 Example
|
59 |
- name: "OpenRouter"
|
60 |
-
|
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: [
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
titleConvo: true
|
69 |
titleModel: "gpt-3.5-turbo"
|
70 |
summarize: false
|
@@ -72,21 +27,25 @@ endpoints:
|
|
72 |
forcePrompt: false
|
73 |
modelDisplayLabel: "OpenRouter"
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
apiKey: "user_provided"
|
80 |
-
baseURL: "user_provided"
|
81 |
models:
|
82 |
-
default: [
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
titleConvo: true
|
85 |
titleModel: "gpt-3.5-turbo"
|
86 |
summarize: false
|
87 |
summaryModel: "gpt-3.5-turbo"
|
88 |
forcePrompt: false
|
89 |
-
modelDisplayLabel: "
|
90 |
-
|
91 |
-
# See the Custom Configuration Guide for more information:
|
92 |
-
# https://docs.librechat.ai/install/configuration/custom_config.html
|
|
|
1 |
+
version: 1.0.2
|
|
|
2 |
|
3 |
+
cache: false
|
4 |
+
# fileStrategy: "firebase"
|
5 |
|
|
|
6 |
endpoints:
|
7 |
custom:
|
8 |
+
# OpenRouter.ai
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
- name: "OpenRouter"
|
10 |
+
apiKey: ${OPENROUTER_API_KEY}
|
|
|
|
|
|
|
11 |
baseURL: "https://openrouter.ai/api/v1"
|
12 |
models:
|
13 |
+
"default": [
|
14 |
+
"nousresearch/nous-capybara-7b:free",
|
15 |
+
"mistralai/mistral-7b-instruct:free",
|
16 |
+
"huggingfaceh4/zephyr-7b-beta:free",
|
17 |
+
"openchat/openchat-7b:free",
|
18 |
+
"gryphe/mythomist-7b:free",
|
19 |
+
"undi95/toppy-m-7b:free",
|
20 |
+
"openrouter/cinematika-7b:free"
|
21 |
+
]
|
22 |
+
fetch: false
|
23 |
titleConvo: true
|
24 |
titleModel: "gpt-3.5-turbo"
|
25 |
summarize: false
|
|
|
27 |
forcePrompt: false
|
28 |
modelDisplayLabel: "OpenRouter"
|
29 |
|
30 |
+
# NagaAI
|
31 |
+
- name: "NagaAI"
|
32 |
+
apiKey: ${NAGA_API_KEY}
|
33 |
+
baseURL: "https://api.naga.ac/v1"
|
|
|
|
|
34 |
models:
|
35 |
+
default: [
|
36 |
+
"gpt-3.5-turbo-1106",
|
37 |
+
"gpt-3.5-turbo-0613",
|
38 |
+
"gemini-pro",
|
39 |
+
"llama-2-70b-chat",
|
40 |
+
"llama-2-13b-chat",
|
41 |
+
"llama-2-7b-chat",
|
42 |
+
"mistral-7b"
|
43 |
+
]
|
44 |
+
fetch: false
|
45 |
titleConvo: true
|
46 |
titleModel: "gpt-3.5-turbo"
|
47 |
summarize: false
|
48 |
summaryModel: "gpt-3.5-turbo"
|
49 |
forcePrompt: false
|
50 |
+
modelDisplayLabel: "NagaAI"
|
51 |
+
iconURL: "https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/icons/NagaAI.png"
|
|
|
|