Repository navigation
docs(proxy): document vision capability filtering as it ships and fix the unknown-vision wording - #2594
Merged
Conversation
… the image routing section Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This branch was previously deployed
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.
The image routing section in
docs/proxy/auto_routing.mddescribed a Responses-only filter that never shipped (on by default even withmodality_routing: false, unknown vision excluded, a pre-dispatch 400, amodality_pin_overrideknob 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 todocs/proxy/reliability.mdnext to the other pre-call checksWhat the docs now say. An image request on chat completions, Responses or Messages skips deployments that declare
supports_vision: false, either onmodel_infoor through the model cost map resolved frombase_modelor the model name. A deployment with no declaration either way stays eligible. The filter runs under every routing strategy withoutenable_pre_call_checks, and a group where every deployment is text-only keeps all of them so the provider error still comes back withx-litellm-model-id. The complexity router'smodality_routingandmodality_pin_overridestay documented as the separate feature they areThe 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 codeDocs build passes locally with
npm run buildResolves LIT-9798, docs follow-up for LIT-9792