Files
DeepTutor/deeptutor/services/model_selection
cgycorey 0a4dc9ad4d fix(settings): judge vision support from the declared provider
The image-description save gate derived the vision capability from the
provider the runtime detects from `base_url`, while the settings picker
used the provider the profile declares. A profile that binds `openai`
and points the base URL at a local gateway falls in between: the picker
offers the model, then PUT /document-parsing rejects it with 400.

Both sides now share one rule -- a model's own capability declaration
first, then the provider tables -- and the gate reads the picker's own
verdict, so the two cannot drift apart again.

Refs #2037

Signed-off-by: cgycorey <cgycorey@users.noreply.github.com>
2026-10-23 19:46:35 +01:00
..
2026-09-21 02:30:40 +08:00
2026-09-24 09:59:56 +08:00