From 9aa342be4e425b6c4477dc3f23025eb0b15da6d1 Mon Sep 17 00:00:00 2001 From: KevinZhao Date: Mon, 15 Jun 2026 22:30:03 +0000 Subject: [PATCH] docs: document LITELLM_ENABLE_HTTP2 environment variable Adds LITELLM_ENABLE_HTTP2 to the environment variables reference table. This unblocks the documentation/code-quality CI checks for BerriAI/litellm#30370 (opt-in outbound HTTP/2), whose test_env_keys.py asserts every env var read in the litellm source is documented here. --- docs/proxy/config_settings.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/proxy/config_settings.md b/docs/proxy/config_settings.md index 197f005f..0b7e5cb8 100644 --- a/docs/proxy/config_settings.md +++ b/docs/proxy/config_settings.md @@ -938,6 +938,7 @@ router_settings: | LITELLM_OTEL_INTEGRATION_ENABLE_EVENTS | Optionally enable semantic logs (`gen_ai.content.prompt`/`gen_ai.content.completion`, or `gen_ai.client.inference.operation.details` in semconv mode) for OTEL. Default `false`. See [OpenTelemetry](/docs/observability/opentelemetry_integration#configuration-reference) | LITELLM_OTEL_INTEGRATION_ENABLE_METRICS | Optionally enable semantic metrics (TTFT, TPOT, response duration, cost, token usage) for OTEL. Default `false`. See [OpenTelemetry](/docs/observability/opentelemetry_integration#metrics-reference) | LITELLM_OTEL_BAGGAGE_TEAM_METADATA_KEYS | Comma-separated allowlist of team-metadata sub-keys promoted onto OTEL spans under `litellm.team.metadata`. Empty by default, so none of a team's free-form metadata is sent to your tracing backend until each sub-key is explicitly allowlisted. Also settable as `baggage_team_metadata_keys` under `callback_settings.otel` in config.yaml. See [OpenTelemetry](/docs/observability/opentelemetry_integration). +| LITELLM_ENABLE_HTTP2 | If true, opts in to HTTP/2 for outbound LLM requests (equivalent to `litellm.enable_http2 = True`). Requires the `h2` package. Off by default; falls back to HTTP/1.1 over aiohttp when unset. | LITELLM_ENABLE_PYROSCOPE | If true, enables Pyroscope CPU profiling. Profiles are sent to PYROSCOPE_SERVER_ADDRESS. Off by default. See [Pyroscope profiling](/proxy/pyroscope_profiling). | LITELLM_ENABLE_TEAM_STALE_ALIAS_BYPASS | When `true`, if a team's legacy `model_aliases` entry maps a public model name to an internal `model_name__` deployment, pre-call handling can skip that rewrite when team-scoped sibling deployments exist for the public name—so load balancing / `order` apply across siblings. Default is `false` for backwards compatibility. See [Team-scoped models and legacy aliases](./load_balancing#team-scoped-models-and-legacy-model_aliases). When stale aliases are detected and this flag is off, the proxy may log a one-time warning. | PYROSCOPE_APP_NAME | Application name reported to Pyroscope. Required when LITELLM_ENABLE_PYROSCOPE is true. No default.