flaky-engineer-19286
12/02/2025, 9:19 AMLLM().is_vision_active() only uses litellm to check model vision-support via an exact match on the model name (using a hard-coded list). In my setup, I do use OpenAI-origin models, but my upstream proxy renames them (e.g. adds a suffix), so the name no longer matches — causing is_vision_active() to always return False.
Would it be possible to add a parameter or override (e.g. force_vision=True) when initializing the LLM, so I can manually enable vision even if the name check fails?
Alternatively, maybe you could allow passing a real_model_name="openai/gpt-5" or equivalent, indicating the original model name from the provider — so internal model info logic uses that instead of the alias.
I’m also happy to contribute if you find such a change acceptable.calm-artist-7206
12/02/2025, 9:29 AMdisable_vision parameter, does it work to override? I have an agent renaming it to enable_vision , which seems maybe more expected?calm-artist-7206
12/02/2025, 9:33 AMforce_vision . I think the semantics could be:
• None - rely on litellm
• False - disable, no matter what litellm says
• True - enable, no matter what litellm says.flaky-engineer-19286
12/02/2025, 9:33 AMdisable_vision=False but that didn't work.flaky-engineer-19286
12/02/2025, 9:35 AMvision_active relies on litellm checks, I think it makes a lot sense to add a force_vision parameter.flaky-engineer-19286
12/02/2025, 9:36 AMcalm-artist-7206
12/02/2025, 9:41 AMcalm-artist-7206
12/02/2025, 9:45 AMflaky-engineer-19286
12/02/2025, 9:48 AMflaky-engineer-19286
12/02/2025, 9:54 AMcalm-artist-7206
12/02/2025, 9:55 AMbase_url in llm), and on the proxy the model name is different than the standard name, right?flaky-engineer-19286
12/02/2025, 9:57 AMcalm-artist-7206
12/02/2025, 10:42 AMflaky-engineer-19286
12/02/2025, 11:24 AMflaky-engineer-19286
12/02/2025, 11:35 AMlitellm.get_llm_provider won't work for input like litellm/gpt-5-minicalm-artist-7206
12/02/2025, 1:49 PMreal_model field and use it for model_info, while sending the request to litellm with the regular model name (the provider is included in the model name, don't worry about it)
Read the readme and build the project; then you will find litellm in .venv so you can investigate its code.
Make some alternative suggestions how to deal with model names that are from a proxy and thus named differently than the canonical model name.nutritious-balloon-65098
12/02/2025, 1:50 PMnutritious-balloon-65098
12/02/2025, 1:55 PMcalm-artist-7206
12/02/2025, 2:10 PMnutritious-balloon-65098
12/02/2025, 2:10 PMflaky-engineer-19286
12/02/2025, 2:15 PMnutritious-balloon-65098
12/02/2025, 2:18 PM