docs: document LITELLM_ENABLE_HTTP2 environment variable#380
Open
KevinZhao wants to merge 1 commit into
Open
Conversation
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).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
LITELLM_ENABLE_HTTP2to the environment variables - Reference table indocs/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 viaos.getenvinlitellm/llms/custom_httpx/http_handler.py). The litellmtests/documentation_tests/test_env_keys.pycheck requires every env var used in code to be documented in this reference table, so thecode-qualityanddocumentationCI jobs fail until it is added.Verification
Ran
tests/documentation_tests/test_env_keys.pylocally with this docs change checked out intodocs/my-website(mirroring CI'sBerriAI/litellm-docscheckout step). Result: