Skip to content

docs(proxy): keep the heuristic_v2_router_limit row until the Router kwarg rename lands - #1180

Merged
mateo-berri merged 1 commit into
mainfrom
litellm_docs_keep_heuristic_v2_router_limit_row
Sep 4, 2026
Merged

mateo-berri merged 1 commit into
mainfrom
litellm_docs_keep_heuristic_v2_router_limit_row

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

#1179 renamed the router_settings row to auto_router_capability_limit ahead of BerriAI/litellm#39674, so every litellm PR now fails the required documentation and code-quality checks with Keys not documented in 'router settings - Reference': {'heuristic_v2_router_limit'}. This adds the current name back as its own row, next to the new one, so both names pass tests/documentation_tests/test_router_settings.py until the code rename merges, at which point the row can go

Proof

Failing run on an unrelated PR: https://github.com/BerriAI/litellm/actions/runs/33823853971/job/100872171991

The test only requires every Router.init kwarg to appear in the table, so an extra documented key is harmless


Note

Low Risk
Documentation-only change to the proxy config reference table; no runtime or routing behavior is modified.

Overview
Restores a router_settings reference row for heuristic_v2_router_limit in docs/proxy/config_settings.md, placed next to auto_router_capability_limit.

The new row explains that heuristic_v2_router_limit is still the live Router.__init__ kwarg name until litellm#39674 lands, and that it matches the same SDK-only callable ceiling on classifier_type: heuristic_v2 routers.

This unblocks test_router_settings (every Router kwarg must appear in the table) after the docs were ahead of the code rename; the extra documented key is harmless until the old row can be removed post-merge.

Reviewed by Cursor Bugbot for commit 7b9f609. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 4, 2026 1:14am UTC

Request Review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 7b9f609. Configure here.

@mateo-berri
mateo-berri merged commit 6fa057c into main Sep 4, 2026
4 checks passed
@mateo-berri
mateo-berri deleted the litellm_docs_keep_heuristic_v2_router_limit_row branch September 4, 2026 01:15

This branch was successfully deployed

1 active deployment
Preview — 7b9f609a Deployed Sep 4, 2026 by vercel[bot]
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