Skip to content

docs(proxy): document rate limiter opt-out env vars - #334

Merged
yassin-berriai merged 1 commit into
mainfrom
litellm_docs_rate_limiter_opt_out_env_vars
Jun 11, 2026
Merged

docs(proxy): document rate limiter opt-out env vars#334
yassin-berriai merged 1 commit into
mainfrom
litellm_docs_rate_limiter_opt_out_env_vars

Conversation

@yassin-berriai

Copy link
Copy Markdown
Contributor

Adds reference entries for two environment variables introduced in BerriAI/litellm#30211 to the environment variables reference table in docs/proxy/config_settings.md.

LITELLM_TPM_TOKEN_RESERVATION_ENABLED controls whether the v3 rate limiter reserves TPM tokens upfront; when false it skips the reservation and enforces TPM post-call from actual usage. REDIS_CIRCUIT_BREAKER_ENABLED lets operators turn the Redis circuit breaker off entirely so it never opens. Both default to true.

This pairs with BerriAI/litellm#30211, which is blocked on these variables being documented here; the litellm CI check tests/documentation_tests/test_env_keys.py fails until every env var read from the code appears in this table. I verified locally by pointing the test at the edited file and it now exits 0.

@vercel

vercel Bot commented Jun 11, 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 11, 2026 5:01pm

Request Review

@yassin-berriai
yassin-berriai enabled auto-merge (squash) June 11, 2026 16:59
@yassin-berriai
yassin-berriai merged commit aba2987 into main Jun 11, 2026
2 checks passed
@yassin-berriai
yassin-berriai deleted the litellm_docs_rate_limiter_opt_out_env_vars branch June 11, 2026 17:01
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