Files
DeepTutor/tests/services/model_selection
cgycorey 0cbfaca2eb fix(settings): expose effective vision support in llm-options (#2037)
The Image description model dropdown filters /api/settings/llm-options on
supports_vision, but the endpoint only emitted declared_vision, which no
frontend code reads, so the list was always empty.

Emit supports_vision per model, preferring the catalog's own capability
declaration and falling back to supports_vision(provider, model) for the
provider/MODEL_OVERRIDES defaults. The declaration has to win here: the
process-global override table only refreshes on the next runtime
resolution, so reading it alone left a freshly declared model hidden in a
newly started process -- the same asymmetry the issue reports. This is the
rule lightrag/roles.py already applies.

Signed-off-by: cgycorey <cgycorey@users.noreply.github.com>
2026-10-23 19:08:19 +01:00
..