AbdullahElTiby/dsh-vision-bridge0

dsh-vision-bridge-dsh

Vision bridge for text-only models (DeepSeek and any route without image input): Gemini Flash describes attached images at the llm/stream seam and provides the describe_image tool.

AI 分析

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

パッケージ
dsh-vision-bridge-dsh
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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).