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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user