Skip to content

Commit 247f623

Browse files
committed
docs: document v0.8.6 env and config updates
1 parent b713b9e commit 247f623

8 files changed

Lines changed: 1272 additions & 403 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
date: 2026-05-25
3+
title: ⚙️ Config v1.3.12
4+
version: '1.3.12'
5+
---
6+
7+
- Added `interface.retentionMode`
8+
- `"temporary"` keeps retention limited to temporary chats
9+
- `"all"` applies configured retention to all supported conversation data
10+
11+
- Added `mcpServers.<server>.proxy`
12+
- Allows `sse` and `streamable-http` MCP servers to use a per-server outbound proxy
13+
- Supports `http://`, `https://`, `socks://`, and `socks5://` proxy URLs
14+
15+
- Added `modelSpecs.list[].hideBadgeRow`
16+
- Allows a model spec to hide the tool badge row in the chat composer

content/docs/configuration/dotenv.mdx

Lines changed: 96 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ To configure LibreChat for local use or custom domain deployment, set the follow
258258
'Specifies the server-side domain.',
259259
'DOMAIN_SERVER=http://localhost:3080',
260260
],
261+
[
262+
'ADMIN_PANEL_URL',
263+
'string',
264+
'External admin panel base URL used for admin OAuth/SSO redirects when the admin panel is hosted separately. Do not include a trailing slash.',
265+
'ADMIN_PANEL_URL=https://admin.example.com/admin',
266+
],
261267
]}
262268
/>
263269

@@ -303,6 +309,12 @@ LibreChat has built-in central logging, see [Logging System](/docs/configuration
303309
'Enable verbose console/stdout logs in the same format as file debug logs.',
304310
'DEBUG_CONSOLE=false',
305311
],
312+
[
313+
'LOG_TO_FILE',
314+
'boolean',
315+
'Set to false to disable file-backed Winston transports while keeping console logging available.',
316+
'LOG_TO_FILE=true',
317+
],
306318
[
307319
'CONSOLE_JSON',
308320
'boolean',
@@ -356,6 +368,65 @@ Note: `DEBUG_CONSOLE` is not recommended, as the outputs can be quite verbose, a
356368
]}
357369
/>
358370

371+
### OpenTelemetry Tracing
372+
373+
LibreChat can emit backend OpenTelemetry traces for general API, HTTP, MongoDB, Mongoose, Redis, and outbound request visibility. Use Langfuse for GenAI-specific prompt/model observability.
374+
375+
<OptionTable
376+
options={[
377+
[
378+
'OTEL_TRACING_ENABLED',
379+
'boolean',
380+
'Enable backend OpenTelemetry tracing. Tracing remains disabled when OTEL_SDK_DISABLED=true.',
381+
'# OTEL_TRACING_ENABLED=false',
382+
],
383+
[
384+
'OTEL_SERVICE_NAME',
385+
'string',
386+
'Service name reported to OpenTelemetry. Default: librechat.',
387+
'# OTEL_SERVICE_NAME=librechat',
388+
],
389+
[
390+
'OTEL_SERVICE_VERSION',
391+
'string',
392+
'Service version reported to OpenTelemetry. Defaults to the package version when unset.',
393+
'# OTEL_SERVICE_VERSION=',
394+
],
395+
[
396+
'OTEL_EXPORTER_OTLP_ENDPOINT',
397+
'string',
398+
'Base OTLP exporter endpoint.',
399+
'# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318',
400+
],
401+
[
402+
'OTEL_EXPORTER_OTLP_TRACES_ENDPOINT',
403+
'string',
404+
'Trace-specific OTLP endpoint. Overrides the base endpoint for traces when set.',
405+
'# OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=',
406+
],
407+
[
408+
'OTEL_EXPORTER_OTLP_HEADERS',
409+
'string',
410+
'Comma-separated OTLP exporter headers, such as authorization metadata.',
411+
'# OTEL_EXPORTER_OTLP_HEADERS=',
412+
],
413+
['OTEL_TRACES_EXPORTER', 'string', 'Trace exporter selection.', '# OTEL_TRACES_EXPORTER=otlp'],
414+
[
415+
'OTEL_TRACES_SAMPLER',
416+
'string',
417+
'OpenTelemetry trace sampler. Default example: parentbased_always_on.',
418+
'# OTEL_TRACES_SAMPLER=parentbased_always_on',
419+
],
420+
['OTEL_LOG_LEVEL', 'string', 'OpenTelemetry SDK log level.', '# OTEL_LOG_LEVEL=INFO'],
421+
[
422+
'OTEL_SDK_DISABLED',
423+
'boolean',
424+
'Disable the OpenTelemetry SDK even if tracing is enabled.',
425+
'# OTEL_SDK_DISABLED=false',
426+
],
427+
]}
428+
/>
429+
359430
### Configuration Path - `librechat.yaml`
360431

361432
Specify an alternative location for the LibreChat configuration file.
@@ -431,7 +502,12 @@ Uncomment `ENDPOINTS` to customize the available endpoints in LibreChat.
431502
'Comma-separated list of available endpoints.',
432503
'# ENDPOINTS=openAI,agents,assistants,gptPlugins,azureOpenAI,google,anthropic,bingAI,custom',
433504
],
434-
['PROXY', 'string', 'Proxy setting for all endpoints.', 'PROXY='],
505+
[
506+
'PROXY',
507+
'string',
508+
'Outbound proxy for server-side requests, including endpoint calls and remote MCP HTTP/SSE transports. Remote MCP transports also honor HTTP_PROXY, HTTPS_PROXY, and NO_PROXY when PROXY is unset.',
509+
'PROXY=',
510+
],
435511
['TITLE_CONVO', 'boolean', 'Enable titling for all endpoints.', 'TITLE_CONVO=true'],
436512
]}
437513
/>
@@ -1754,6 +1830,12 @@ see: **[Authentication System](/docs/configuration/authentication)**
17541830
'Refresh token expiry time.',
17551831
'REFRESH_TOKEN_EXPIRY=(1000 * 60 * 60 * 24) * 7',
17561832
],
1833+
[
1834+
'SESSION_COOKIE_SECURE',
1835+
'boolean',
1836+
'Overrides the Secure attribute for session/auth cookies. Leave unset to use the default NODE_ENV/DOMAIN_SERVER heuristic.',
1837+
'# SESSION_COOKIE_SECURE=false',
1838+
],
17571839
]}
17581840
/>
17591841

@@ -1995,7 +2077,7 @@ For more information:
19952077
[
19962078
'OPENID_USE_PKCE',
19972079
'boolean',
1998-
'Use PKCE (Proof Key for Code Exchange) for OpenID authentication.',
2080+
'Use PKCE (Proof Key for Code Exchange) for OpenID authentication. For public clients without a client secret, leave OPENID_CLIENT_SECRET empty and set this to true.',
19992081
'# OPENID_USE_PKCE=true',
20002082
],
20012083
[
@@ -2694,6 +2776,18 @@ Configure Model Context Protocol settings for enhanced server management and OAu
26942776
'Skip code challenge method validation. When set to true, forces S256 code challenge even if not advertised in .well-known/openid-configuration',
26952777
'MCP_SKIP_CODE_CHALLENGE_CHECK=false',
26962778
],
2779+
[
2780+
'MCP_STREAMABLE_HTTP_MAX_RESPONSE_BYTES',
2781+
'number',
2782+
'Maximum bytes allowed in a non-GET streamable HTTP MCP response before rejecting it. Set to 0 to disable. Default: 16777216 (16 MiB).',
2783+
'# MCP_STREAMABLE_HTTP_MAX_RESPONSE_BYTES=16777216',
2784+
],
2785+
[
2786+
'MCP_STREAMABLE_HTTP_MAX_LINE_BYTES',
2787+
'number',
2788+
'Maximum bytes allowed in one SSE line for non-GET streamable HTTP MCP responses. Set to 0 to disable. Default: 5242880 (5 MiB).',
2789+
'# MCP_STREAMABLE_HTTP_MAX_LINE_BYTES=5242880',
2790+
],
26972791
]}
26982792
/>
26992793

content/docs/configuration/librechat_yaml/example.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ icon: FileCode
1010
This example config includes all documented endpoints (Except Azure, LiteLLM, MLX, and Ollama, which all require additional configurations)
1111

1212
```yaml filename="librechat.yaml"
13-
version: 1.3.11
13+
version: 1.3.12
1414

1515
cache: true
1616

@@ -273,7 +273,7 @@ This example configuration file sets up LibreChat with detailed options across s
273273
# https://www.librechat.ai/docs/configuration/librechat_yaml
274274

275275
# Configuration version (required)
276-
version: 1.3.11
276+
version: 1.3.12
277277

278278
# Cache settings: Set to true to enable caching
279279
cache: true

0 commit comments

Comments
 (0)