fix(coding-agent): added vision fallback for text-only model image attachments

- Added `images.describeForTextModels` configuration defaulting to true for text models.
- Added `describeAttachedImagesForTextModel` to persist images and generate local:// descriptions.
- Added image-description notices to session flow with hidden typing and pre-user insertion.
- Added fallback behavior that returns notes when vision is unavailable or output is empty.
This commit is contained in:
can1357
2026-06-17 12:24:18 +02:00
parent 4060be5b44
commit 0b04fda921
8 changed files with 496 additions and 5 deletions
@@ -712,6 +712,18 @@ export const SETTINGS_SCHEMA = {
},
},
"images.describeForTextModels": {
type: "boolean",
default: true,
ui: {
tab: "model",
group: "Vision",
label: "Describe Images for Text Models",
description:
"When an image is attached to a model without vision support, save it under local:// and inject a description from a vision-capable model instead of dropping it",
},
},
"tui.maxInlineImageColumns": {
type: "number",
default: 100,