Skip to content

docs(proxy): document vision capability filtering as it ships and fix the unknown-vision wording - #2594

Merged
joshua-berri merged 1 commit into
mainfrom
litellm_vision_filter_docs
Oct 24, 2026
Merged

joshua-berri merged 1 commit into
mainfrom
litellm_vision_filter_docs

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

The image routing section in docs/proxy/auto_routing.md described a Responses-only filter that never shipped (on by default even with modality_routing: false, unknown vision excluded, a pre-dispatch 400, a modality_pin_override knob for it). This replaces it with what the router actually does after BerriAI/litellm#48152 and BerriAI/litellm#48241, and adds a vision capability filtering section to docs/proxy/reliability.md next to the other pre-call checks

What the docs now say. An image request on chat completions, Responses or Messages skips deployments that declare supports_vision: false, either on model_info or through the model cost map resolved from base_model or the model name. A deployment with no declaration either way stays eligible. The filter runs under every routing strategy without enable_pre_call_checks, and a group where every deployment is text-only keeps all of them so the provider error still comes back with x-litellm-model-id. The complexity router's modality_routing and modality_pin_override stay documented as the separate feature they are

The LIT-9798 correction rides along. The auto router docs said tiers with unknown vision support are excluded from image requests, while the code only skips an explicit false. The text now matches the code

Docs build passes locally with npm run build

Resolves LIT-9798, docs follow-up for LIT-9792

… the image routing section

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@joshua-berri
joshua-berri merged commit 6abfa48 into main Oct 24, 2026
6 checks passed
@joshua-berri
joshua-berri deleted the litellm_vision_filter_docs branch October 24, 2026 23:11

This branch was previously deployed

1 inactive deployment
Preview — 595b8fd1 Deployed Oct 24, 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