Update librechat.yaml
Browse files- librechat.yaml +14 -25
librechat.yaml
CHANGED
@@ -1,9 +1,15 @@
|
|
1 |
# Configuration version (required)
|
2 |
-
version: 1.0.
|
3 |
|
4 |
# Cache settings: Set to true to enable caching
|
5 |
cache: true
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Definition of custom endpoints
|
8 |
endpoints:
|
9 |
custom:
|
@@ -46,15 +52,12 @@ endpoints:
|
|
46 |
|
47 |
# Add additional parameters to the request. Default params will be overwritten.
|
48 |
addParams:
|
49 |
-
|
50 |
|
51 |
# Drop Default params parameters from the request. See default params in guide linked below.
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
# - temperature
|
56 |
-
# - top_p
|
57 |
-
|
58 |
# OpenRouter.ai Example
|
59 |
- name: "OpenRouter"
|
60 |
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
@@ -62,22 +65,6 @@ endpoints:
|
|
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", "openchat/openchat-7b:free", "gryphe/mythomist-7b:free", "undi95/toppy-m-7b:free", "openrouter/cinematika-7b:free", "openrouter/auto", "nousresearch/nous-capybara-7b", "mistralai/mistral-7b-instruct", "huggingfaceh4/zephyr-7b-beta", "openchat/openchat-7b", "gryphe/mythomist-7b", "openrouter/cinematika-7b", "rwkv/rwkv-5-world-3b", "recursal/rwkv-5-3b-ai-town", "jondurbin/bagel-34b", "jebcarter/psyfighter-13b", "koboldai/psyfighter-13b-2", "neversleep/noromaid-mixtral-8x7b-instruct", "nousresearch/nous-hermes-llama2-13b", "meta-llama/codellama-34b-instruct", "phind/phind-codellama-34b", "intel/neural-chat-7b", "nousresearch/nous-hermes-2-mixtral-8x7b-dpo", "nousresearch/nous-hermes-2-mixtral-8x7b-sft", "haotian-liu/llava-13b", "nousresearch/nous-hermes-2-vision-7b", "meta-llama/llama-2-13b-chat", "gryphe/mythomax-l2-13b", "nousresearch/nous-hermes-llama2-70b", "teknium/openhermes-2-mistral-7b", "teknium/openhermes-2.5-mistral-7b", "undi95/remm-slerp-l2-13b", "undi95/toppy-m-7b", "01-ai/yi-34b-chat", "01-ai/yi-34b", "01-ai/yi-6b", "togethercomputer/stripedhyena-nous-7b", "togethercomputer/stripedhyena-hessian-7b", "mistralai/mixtral-8x7b", "nousresearch/nous-hermes-yi-34b", "open-orca/mistral-7b-openorca", "openai/gpt-3.5-turbo", "openai/gpt-3.5-turbo-1106", "openai/gpt-3.5-turbo-16k", "openai/gpt-4-1106-preview", "openai/gpt-4", "openai/gpt-4-32k", "openai/gpt-4-vision-preview", "openai/gpt-3.5-turbo-instruct", "google/palm-2-chat-bison", "google/palm-2-codechat-bison", "google/palm-2-chat-bison-32k", "google/palm-2-codechat-bison-32k", "google/gemini-pro", "google/gemini-pro-vision", "perplexity/pplx-70b-online", "perplexity/pplx-7b-online", "perplexity/pplx-7b-chat", "perplexity/pplx-70b-chat", "meta-llama/llama-2-70b-chat", "nousresearch/nous-capybara-34b", "jondurbin/airoboros-l2-70b", "austism/chronos-hermes-13b", "migtissera/synthia-70b", "pygmalionai/mythalion-13b", "undi95/remm-slerp-l2-13b-6k", "xwin-lm/xwin-lm-70b", "gryphe/mythomax-l2-13b-8k", "alpindale/goliath-120b ", "lizpreciatior/lzlv-70b-fp16-hf", "neversleep/noromaid-20b", "mistralai/mixtral-8x7b-instruct", "cognitivecomputations/dolphin-mixtral-8x7b", "anthropic/claude-2", "anthropic/claude-2.0", "anthropic/claude-instant-v1", "mancer/weaver", "mistralai/mistral-tiny", "mistralai/mistral-small", "mistralai/mistral-medium"]
|
67 |
-
fetch: true
|
68 |
-
titleConvo: true
|
69 |
-
titleModel: "gpt-3.5-turbo"
|
70 |
-
summarize: false
|
71 |
-
summaryModel: "gpt-3.5-turbo"
|
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:
|
82 |
default: ["gpt-3.5-turbo"]
|
83 |
fetch: true
|
@@ -86,5 +73,7 @@ endpoints:
|
|
86 |
summarize: false
|
87 |
summaryModel: "gpt-3.5-turbo"
|
88 |
forcePrompt: false
|
89 |
-
modelDisplayLabel: "
|
90 |
|
|
|
|
|
|
1 |
# Configuration version (required)
|
2 |
+
version: 1.0.2
|
3 |
|
4 |
# Cache settings: Set to true to enable caching
|
5 |
cache: true
|
6 |
|
7 |
+
# Example Registration Object Structure (optional)
|
8 |
+
registration:
|
9 |
+
socialLogins: ["github", "google", "discord", "openid", "facebook"]
|
10 |
+
# allowedDomains:
|
11 |
+
# - "gmail.com"
|
12 |
+
|
13 |
# Definition of custom endpoints
|
14 |
endpoints:
|
15 |
custom:
|
|
|
52 |
|
53 |
# Add additional parameters to the request. Default params will be overwritten.
|
54 |
addParams:
|
55 |
+
safe_prompt: true # This field is specific to Mistral AI: https://docs.mistral.ai/api/
|
56 |
|
57 |
# Drop Default params parameters from the request. See default params in guide linked below.
|
58 |
+
# NOTE: For Mistral, it is necessary to drop the following parameters or you will encounter a 422 Error:
|
59 |
+
dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
|
60 |
+
|
|
|
|
|
|
|
61 |
# OpenRouter.ai Example
|
62 |
- name: "OpenRouter"
|
63 |
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
|
|
65 |
# Known issue: you should not use `OPENROUTER_API_KEY` as it will then override the `openAI` endpoint to use OpenRouter as well.
|
66 |
apiKey: "${OPENROUTER_KEY}"
|
67 |
baseURL: "https://openrouter.ai/api/v1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
models:
|
69 |
default: ["gpt-3.5-turbo"]
|
70 |
fetch: true
|
|
|
73 |
summarize: false
|
74 |
summaryModel: "gpt-3.5-turbo"
|
75 |
forcePrompt: false
|
76 |
+
modelDisplayLabel: "OpenRouter"
|
77 |
|
78 |
+
# See the Custom Configuration Guide for more information:
|
79 |
+
# https://docs.librechat.ai/install/configuration/custom_config.html
|