You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -303,6 +309,12 @@ LibreChat has built-in central logging, see [Logging System](/docs/configuration
303
309
'Enable verbose console/stdout logs in the same format as file debug logs.',
304
310
'DEBUG_CONSOLE=false',
305
311
],
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
+
],
306
318
[
307
319
'CONSOLE_JSON',
308
320
'boolean',
@@ -345,6 +357,65 @@ Note:
345
357
346
358
Note: `DEBUG_CONSOLE` is not recommended, as the outputs can be quite verbose, and so it's disabled by default.
347
359
360
+
### OpenTelemetry Tracing
361
+
362
+
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.
363
+
364
+
<OptionTable
365
+
options={[
366
+
[
367
+
'OTEL_TRACING_ENABLED',
368
+
'boolean',
369
+
'Enable backend OpenTelemetry tracing. Tracing remains disabled when OTEL_SDK_DISABLED=true.',
370
+
'# OTEL_TRACING_ENABLED=false',
371
+
],
372
+
[
373
+
'OTEL_SERVICE_NAME',
374
+
'string',
375
+
'Service name reported to OpenTelemetry. Default: librechat.',
376
+
'# OTEL_SERVICE_NAME=librechat',
377
+
],
378
+
[
379
+
'OTEL_SERVICE_VERSION',
380
+
'string',
381
+
'Service version reported to OpenTelemetry. Defaults to the package version when unset.',
'Disable the OpenTelemetry SDK even if tracing is enabled.',
414
+
'# OTEL_SDK_DISABLED=false',
415
+
],
416
+
]}
417
+
/>
418
+
348
419
### Permission
349
420
350
421
> UID and GID are numbers assigned by Linux to each user and group on the system. If you have permission problems, set here the UID and GID of the user running the Docker Compose command. The applications in the container will run with these UID/GID.
@@ -431,7 +502,12 @@ Uncomment `ENDPOINTS` to customize the available endpoints in LibreChat.
['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
+
],
435
511
['TITLE_CONVO', 'boolean', 'Enable titling for all endpoints.', 'TITLE_CONVO=true'],
> **Note:**You can omit the access keys to use the default AWS credentials chain (environment variables, SSO credentials, shared credentials files, or EC2/ECS Instance Metadata Service). See [AWS Bedrock Setup](/docs/configuration/pre_configured_ai/bedrock) for more details.
722
+
> **Note:**Prefer `BEDROCK_AWS_PROFILE`, IAM roles, or the AWS default credentials chain when possible. Use static keys or `BEDROCK_AWS_BEARER_TOKEN` only when those deployment options are not suitable. See [AWS Bedrock Setup](/docs/configuration/pre_configured_ai/bedrock) for more details.
'Overrides the Secure attribute for session/auth cookies. Leave unset to use the default NODE_ENV/DOMAIN_SERVER heuristic.',
1849
+
'# SESSION_COOKIE_SECURE=false',
1850
+
],
1757
1851
]}
1758
1852
/>
1759
1853
@@ -1995,7 +2089,7 @@ For more information:
1995
2089
[
1996
2090
'OPENID_USE_PKCE',
1997
2091
'boolean',
1998
-
'Use PKCE (Proof Key for Code Exchange) for OpenID authentication.',
2092
+
'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.',
1999
2093
'# OPENID_USE_PKCE=true',
2000
2094
],
2001
2095
[
@@ -2694,6 +2788,18 @@ Configure Model Context Protocol settings for enhanced server management and OAu
2694
2788
'Skip code challenge method validation. When set to true, forces S256 code challenge even if not advertised in .well-known/openid-configuration',
2695
2789
'MCP_SKIP_CODE_CHALLENGE_CHECK=false',
2696
2790
],
2791
+
[
2792
+
'MCP_STREAMABLE_HTTP_MAX_RESPONSE_BYTES',
2793
+
'number',
2794
+
'Maximum bytes allowed in a non-GET streamable HTTP MCP response before rejecting it. Set to 0 to disable. Default: 16777216 (16 MiB).',
0 commit comments