Skip to content

docs: document LITELLM_ENABLE_HTTP2 environment variable#380

Open
KevinZhao wants to merge 1 commit into
BerriAI:mainfrom
KevinZhao:fix/document-litellm-enable-http2-env
Open

docs: document LITELLM_ENABLE_HTTP2 environment variable#380
KevinZhao wants to merge 1 commit into
BerriAI:mainfrom
KevinZhao:fix/document-litellm-enable-http2-env

Conversation

@KevinZhao

Copy link
Copy Markdown

What

Adds LITELLM_ENABLE_HTTP2 to the environment variables - Reference table in docs/proxy/config_settings.md.

Why

The opt-in HTTP/2 feature for outbound LLM requests (BerriAI/litellm#30370) introduces a new env var LITELLM_ENABLE_HTTP2 (read via os.getenv in litellm/llms/custom_httpx/http_handler.py). The litellm tests/documentation_tests/test_env_keys.py check requires every env var used in code to be documented in this reference table, so the code-quality and documentation CI jobs fail until it is added.

Verification

Ran tests/documentation_tests/test_env_keys.py locally with this docs change checked out into docs/my-website (mirroring CI's BerriAI/litellm-docs checkout step). Result:

All keys are documented in 'environment settings - Reference'.

Add the LITELLM_ENABLE_HTTP2 env var to the environment variables
reference table. This opt-in flag enables HTTP/2 for outbound LLM
requests (httpx transport with http2=True). Without this entry the
litellm test_env_keys.py documentation check fails for PRs that
introduce the variable (BerriAI/litellm#30370).
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Jun 20, 2026 4:23pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant