AbdullahElTiby/dsh-vision-bridge0

dsh-vision-bridge-dsh

适用于纯文本模型的视觉桥接器:由 Gemini Flash 在流传输缝隙中描述附加图像,并提供 describe_image 工具。

AI 分析

核心用途是为不支持图片输入的纯文本模型(如 DeepSeek)桥接视觉能力。适合需要让文本模型理解上传图片的用户,必要条件是需配置 Gemini API 密钥。

包名
dsh-vision-bridge-dsh
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Configuration (row config on the vision-bridge row)

keydefaultmeaning
modelgemini-2.5-flashGemini vision model id
apiKeyRefGEMINI_API_KEYcredential ref (env var / ~/.dsh/.credentials.yaml / .env)
endpointhttps://generativelanguage.googleapis.com/v1betaGemini REST endpoint
maxOutputTokens1024description length cap
temperature0.4Gemini sampling temperature
timeoutMs30000per-call Gemini timeout
maxImageBytes15728640largest image sent to Gemini
admitImagestruepatch resolveModelInfo (image admission)
tooltrueregister describe_image
systemSectiontruecontribute the prompt section
cacheSize256description cache size

Set admitImages: false to keep the stock gates (images are then rejected for text-only models and the bridge never fires).