Files
Maksim Totmin 338bd80a95 fix: use provider block's own vision model on legacy fallback
When falling back to a provider block (providerID / legacy ludmila-ai),
prefer the model flagged attachment:true in that block instead of the
Google-default options.model. Prevents sending 'gemini-2.5-flash' to the
ludmila endpoint which expects 'gemini/gemini-2.5-flash'.
2026-08-04 20:44:14 +07:00

16 lines
424 B
JSON

{
"name": "vision-bridge",
"version": "0.2.1",
"type": "module",
"description": "Opencode plugin: bridges images to a vision model when the active model cannot see images.",
"main": "src/vision-bridge.ts",
"exports": {
".": "./src/vision-bridge.ts"
},
"files": ["src"],
"keywords": ["opencode", "plugin", "vision"],
"license": "MIT",
"devDependencies": {
"@opencode-ai/plugin": "^1.14.19"
}
}