@dsh-extension/dsh-vision-bridge
按需视觉:图片转为标记,由 vision_describe 工具调用视觉模型 适合纯文本会话中偶尔需要看图描述的用户,需配置兼容视觉模型
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sfyyy/dsh-vision-bridge说明文档
阅读完整 README ↗Configuration
Configure it in Settings → Vision Bridge (DSH Web), or edit ~/.dsh/vision-bridge.json:
{
"enabled": true,
"baseUrl": "https://api.openai.com/v1",
"apiKey": "sk-xxxx",
"apiKeyEnv": "",
"model": "gpt-5.6-terra"
}
baseUrlaccepts an API root, a.../v1base, or a full.../chat/completionsURL (the plugin normalizes it).apiKeyandapiKeyEnvare mutually exclusive. A directly entered key is synced to the DSH credential store and referenced asDSH_VISION_BRIDGE_API_KEY.- The plugin maintains exactly one
vision-bridgeroute inside DSH'sllm-pi-ai.providersand never touches other providers. enabled: falsedisables the whole chain: no tool registration, no image rewriting, no admission bypass (native behavior restored).
Precedence (highest wins): Settings page (with schema defaults) → environment variables → config file.
Environment overrides: DSH_VISION_BRIDGE_BASE_URL, DSH_VISION_BRIDGE_API_KEY, DSH_VISION_BRIDGE_API_KEY_ENV, DSH_VISION_BRIDGE_MODEL, DSH_VISION_BRIDGE_ENABLED.