AbdullahElTiby/dsh-vision-bridge ↗★ 0
dsh-vision-bridge-dsh
适用于纯文本模型的视觉桥接器:由 Gemini Flash 在流传输缝隙中描述附加图像,并提供 describe_image 工具。
AI 分析
核心用途是为不支持图片输入的纯文本模型(如 DeepSeek)桥接视觉能力。适合需要让文本模型理解上传图片的用户,必要条件是需配置 Gemini API 密钥。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration (row config on the vision-bridge row)
| key | default | meaning |
|---|---|---|
model | gemini-2.5-flash | Gemini vision model id |
apiKeyRef | GEMINI_API_KEY | credential ref (env var / ~/.dsh/.credentials.yaml / .env) |
endpoint | https://generativelanguage.googleapis.com/v1beta | Gemini REST endpoint |
maxOutputTokens | 1024 | description length cap |
temperature | 0.4 | Gemini sampling temperature |
timeoutMs | 30000 | per-call Gemini timeout |
maxImageBytes | 15728640 | largest image sent to Gemini |
admitImages | true | patch resolveModelInfo (image admission) |
tool | true | register describe_image |
systemSection | true | contribute the prompt section |
cacheSize | 256 | description cache size |
Set admitImages: false to keep the stock gates (images are then rejected for
text-only models and the bridge never fires).