tang-x commited on
Commit
0da94f6
1 Parent(s): 61df40b

Update librechat.yaml

Browse files
Files changed (1) hide show
  1. librechat.yaml +43 -41
librechat.yaml CHANGED
@@ -1,49 +1,51 @@
 
1
  cache: true
2
 
 
3
  endpoints:
4
- custom:
5
-
6
- - name: "openAI"
7
- apiKey: "${OPENAI_API_KEY}"
8
- baseURL: "${OPENAI_REVERSE_PROXY}"
9
- models:
10
  default: ["gpt-4o", "gpt-4o-mini"]
11
  fetch: true
12
- titleConvo: true
13
- titleModel: "gpt-4o-mini"
14
- summarize: false
15
- summaryModel: "gpt-4o-mini"
16
- modelDisplayLabel: "ChatGPT"
17
- dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
18
 
19
- - name: "assistants"
20
- apiKey: "${ANTHROPIC_API_KEY}"
21
- baseURL: "${ANTHROPIC_REVERSE_PROXY}"
22
- models:
23
  default: ["claude-3-opus",
24
  "claude-3-sonnet",
25
  "claude-3-haiku"]
26
  fetch: true
27
- titleConvo: true
28
- modelDisplayLabel: "Claude"
29
- dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
30
 
31
 
32
- - name: "google"
33
- apiKey: "${GOOGLE_KEY}"
34
- baseURL: "${GOOGLE_REVERSE_PROXY}"
35
- models:
36
  default: [ "gemini-pro-1.5",
37
  "gemini-pro","gemini-1.5-flash-latest"]
38
  fetch: true
39
- titleConvo: true
40
- modelDisplayLabel: "Gemini"
41
- dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
42
 
43
- - name: 'HuggingFace'
44
- apiKey: '${HUGGINGFACE_TOKEN}'
45
- baseURL: 'https://api-inference.huggingface.co/v1'
46
- models:
47
  default: [
48
  "codellama/CodeLlama-34b-Instruct-hf",
49
  "google/gemma-1.1-2b-it",
@@ -58,17 +60,17 @@ endpoints:
58
  "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
59
  ]
60
  fetch: true
61
- titleConvo: true
62
- titleModel: "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO"
63
- dropParams: ["top_p"]
64
- modelDisplayLabel: "HuggingFace"
65
 
66
- - name: "cohere"
67
- apiKey: "${COHERE_API_KEY}"
68
- baseURL: "https://api.cohere.ai/v1"
69
- models:
70
  default: ["command-r","command-r-plus","command-light","command-light-nightly","command","command-nightly"]
71
  fetch: false
72
- modelDisplayLabel: "cohere"
73
- titleModel: "command"
74
- dropParams: ["stop", "user", "frequency_penalty", "presence_penalty", "temperature", "top_p"]
 
1
+ # 缓存设置:设置为true以启用缓存
2
  cache: true
3
 
4
+ # 自定义端点的定义
5
  endpoints:
6
+ custom:
7
+
8
+ - name: "openAI"
9
+ apiKey: "${OPENAI_API_KEY}"
10
+ baseURL: "${OPENAI_REVERSE_PROXY}"
11
+ models:
12
  default: ["gpt-4o", "gpt-4o-mini"]
13
  fetch: true
14
+ titleConvo: true
15
+ titleModel: "gpt-4o-mini"
16
+ summarize: false
17
+ summaryModel: "gpt-4o-mini"
18
+ modelDisplayLabel: "ChatGPT"
19
+ dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
20
 
21
+ - name: "assistants"
22
+ apiKey: "${ANTHROPIC_API_KEY}"
23
+ baseURL: "${ANTHROPIC_REVERSE_PROXY}"
24
+ models:
25
  default: ["claude-3-opus",
26
  "claude-3-sonnet",
27
  "claude-3-haiku"]
28
  fetch: true
29
+ titleConvo: true
30
+ modelDisplayLabel: "Claude"
31
+ dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
32
 
33
 
34
+ - name: "google"
35
+ apiKey: "${GOOGLE_KEY}"
36
+ baseURL: "${GOOGLE_REVERSE_PROXY}"
37
+ models:
38
  default: [ "gemini-pro-1.5",
39
  "gemini-pro","gemini-1.5-flash-latest"]
40
  fetch: true
41
+ titleConvo: true
42
+ modelDisplayLabel: "Gemini"
43
+ dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
44
 
45
+ - name: 'HuggingFace'
46
+ apiKey: '${HUGGINGFACE_TOKEN}'
47
+ baseURL: 'https://api-inference.huggingface.co/v1'
48
+ models:
49
  default: [
50
  "codellama/CodeLlama-34b-Instruct-hf",
51
  "google/gemma-1.1-2b-it",
 
60
  "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
61
  ]
62
  fetch: true
63
+ titleConvo: true
64
+ titleModel: "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO"
65
+ dropParams: ["top_p"]
66
+ modelDisplayLabel: "HuggingFace"
67
 
68
+ - name: "cohere"
69
+ apiKey: "${COHERE_API_KEY}"
70
+ baseURL: "https://api.cohere.ai/v1"
71
+ models:
72
  default: ["command-r","command-r-plus","command-light","command-light-nightly","command","command-nightly"]
73
  fetch: false
74
+ modelDisplayLabel: "cohere"
75
+ titleModel: "command"
76
+ dropParams: ["stop", "user", "frequency_penalty", "presence_penalty", "temperature", "top_p"]