forked from danny-avila/LibreChat
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlibrechat.prod.yml
More file actions
218 lines (218 loc) · 6.82 KB
/
librechat.prod.yml
File metadata and controls
218 lines (218 loc) · 6.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
version: 1.0.0
cache: true
interface:
agents: true
modelSelect: true
parameters: true
presets: true
modelSpecs:
addedEndpoints:
- agents
- azureOpenAI
- "Gemini 2.5 Pro"
- "Gemini 2.5 Flash"
- "Claude Sonnet 4.5"
list:
- name: azure-gpt-4o
label: GPT-4o
iconURL: /assets/openai.png
showIconInMenu: true
showIconInHeader: true
default: true
description: For daily tasks with a quick response time.
preset:
endpoint: azureOpenAI
model: gpt-4o
- name: azure-gpt-4o-mini
label: GPT-4o Mini
iconURL: /assets/openai.png
showIconInMenu: true
showIconInHeader: true
description: Offers simpler, more instant responses.
preset:
endpoint: azureOpenAI
model: gpt-4o-mini
- name: azure-gpt-41
label: GPT-4.1
iconURL: /assets/openai.png
showIconInMenu: true
showIconInHeader: true
description: For complex reasoning and coding.
preset:
endpoint: azureOpenAI
model: gpt-41
- name: azure-gpt-41-mini
label: GPT-4.1 Mini
iconURL: /assets/openai.png
showIconInMenu: true
showIconInHeader: true
description: A faster, more lightweight version of GPT-4.1.
preset:
endpoint: azureOpenAI
model: gpt-41-mini
- name: azure-gpt-5
label: GPT-5
iconURL: /assets/openai.png
showIconInMenu: true
showIconInHeader: true
description: For advanced tasks with the highest accuracy and reasoning depth.
preset:
endpoint: azureOpenAI
model: gpt-5
- name: google-gemini-25-pro
label: Gemini 2.5 Pro
iconURL: /assets/google.png
showIconInMenu: true
showIconInHeader: true
description: Quickly analyze complex, mixed media content.
preset:
endpoint: "Gemini 2.5 Pro"
model: gemini-2.5-pro
- name: google-gemini-25-flash
label: Gemini 2.5 Flash
iconURL: /assets/google.png
showIconInMenu: true
showIconInHeader: true
description: A faster, more lightweight version of Gemini 2.5 Pro.
preset:
endpoint: "Gemini 2.5 Flash"
model: gemini-2.5-flash
- name: anthropic-claude-sonnet-45
label: Claude Sonnet 4.5 (Limited)
iconURL: /assets/anthropic.png
showIconInMenu: true
showIconInHeader: true
description: For extended reasoning, coding, and automation. This model is being evaluated. It can be used a limited number of times.
preset:
endpoint: "Claude Sonnet 4.5"
model: claude-sonnet-4-5
mcpServers:
Internet Search (Tavily):
type: streamable-http
url: https://mcp.tavily.com/mcp/
headers:
Authorization: "Bearer ${TAVILY_API_KEY}"
startup: true
chatMenu: false
serverInstructions: "TAVILY SEARCH PROTOCOL: (1) Never use tavily_research tool unless the user explicitly includes '/deep-research' in their prompt. For all other queries, use tavily_search which has higher rate limits. If /deep-research is requested, use 'mini' model first, and only escalate to 'pro' if the task clearly requires broader multi-topic coverage. (2) If a search fails or returns errors, analyze the error message, modify the query or parameters, and retry with adjustments. "
requiresOAuth: false
endpoints:
azureOpenAI:
# Endpoint-level configuration
titleModel: "gpt-4o"
plugins: false
assistants: false
groups:
# Group-level configuration
- group: "Prod East US"
instanceName: "Prod OpenAI"
apiKey: "${AZURE_OPENAI_API_KEY}"
baseURL: "${AZURE_OPENAI_BASEURL}"
version: "2024-10-21"
# Model-level configuration
models:
gpt-5:
deploymentName: gpt-5
version: "2024-10-21"
gpt-4o:
deploymentName: gpt-4o
version: "2024-10-21"
gpt-4o-mini:
deploymentName: gpt-4o-mini
version: "2024-10-21"
gpt-41:
deploymentName: gpt-41
version: "2024-10-21"
gpt-41-mini:
deploymentName: gpt-41-mini
version: "2024-10-21"
custom:
- name: "Gemini 2.5 Pro"
apiKey: "${GCP_VERTEXAI_API_KEY}"
baseURL: "${GCP_VERTEXAI_BASEURL}/gemini-2.5-pro/v1"
iconURL: "/assets/google.png"
directEndpoint: true
models:
default:
- gemini-2.5-pro
titleModel: "gemini-2.5-pro"
titleConvo: true
modelDisplayLabel: "Gemini 2.5 Pro"
addParams:
streaming: false
disableStreaming: true
dropParams:
- stream
- streaming
- name: "Gemini 2.5 Flash"
apiKey: "${GCP_VERTEXAI_API_KEY}"
baseURL: "${GCP_VERTEXAI_BASEURL}/gemini-2.5-flash/v1"
iconURL: "/assets/google.png"
directEndpoint: true
models:
default:
- gemini-2.5-flash
titleModel: "gemini-2.5-flash"
titleConvo: true
modelDisplayLabel: "Gemini 2.5 Flash"
addParams:
streaming: false
disableStreaming: true
dropParams:
- stream
- streaming
- name: "Claude Sonnet 4.5"
apiKey: "${GCP_VERTEXAI_API_KEY}"
baseURL: "${GCP_VERTEXAI_BASEURL}/claude-sonnet-4-5/v1"
iconURL: "/assets/anthropic.png"
directEndpoint: true
models:
default:
- claude-sonnet-4-5
titleModel: "claude-sonnet-4-5"
titleConvo: true
modelDisplayLabel: "Claude Sonnet 4.5"
# Streaming enabled - Kong translates to OpenAI SSE format
streamRate: 25
- name: "LangGraph Agents"
apiKey: "${LANGGRAPH_PROXY_API_KEY}"
baseURL: "${LANGGRAPH_PROXY_BASE_URL}"
headers:
x-librechat-conversation-id: "{{LIBRECHAT_BODY_CONVERSATIONID}}"
models:
default:
- langgraph-agent
fetch: true
titleConvo: true
titleEndpoint: azureOpenAI
titleModel: "gpt-41-mini"
modelDisplayLabel: "LangGraph Agents"
streamRate: 25
dropParams:
- 'stop'
- 'frequency_penalty'
- 'presence_penalty'
- 'top_p'
- name: "LangGraph Agents Identification"
apiKey: "${LANGGRAPH_PROXY_API_KEY}"
baseURL: "${LANGGRAPH_PROXY_BASE_URL}"
headers:
x-librechat-conversation-id: "{{LIBRECHAT_BODY_CONVERSATIONID}}"
x-user-access-token: "{{LIBRECHAT_OPENID_ACCESS_TOKEN}}"
x-user-id: "{{LIBRECHAT_OPENID_USER_ID}}"
x-message-id: "{{LIBRECHAT_BODY_MESSAGEID}}"
x-parent-message-id: "{{LIBRECHAT_BODY_PARENTMESSAGEID}}"
models:
default:
- langgraph-agent-identification
fetch: true
titleConvo: true
titleEndpoint: azureOpenAI
titleModel: "gpt-41-mini"
modelDisplayLabel: "LangGraph Agents Identification"
streamRate: 25
dropParams:
- 'stop'
- 'frequency_penalty'
- 'presence_penalty'
- 'top_p'