3 Commits

Author SHA1 Message Date
cgycorey
731b5159a0 fix(settings): send images for a validated image-description model
The picker and the save-time gate now agree on vision support from the
declared provider, but the sender is a third consumer of that verdict: it
asked the provider detected from base_url and let the factory strip the
image parts, so a validated selection described no figures at all.

Refs #2037

Signed-off-by: cgycorey <cgycorey@users.noreply.github.com>
2026-10-23 20:13:59 +01:00
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
ZyPulse
cbb742a141 feat(parsing): select an independent image description model 2026-09-30 00:01:29 +08:00