dsh-image-base64
发送视觉请求前将图像转为Base64格式
AI 分析
适合使用LM Studio等对非PNG/JPEG/GIF格式报错的网关的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pureexe/dsh-image-base64說明文件
閱讀完整 README ↗Configuration
Accepted media types default to [image/png, image/jpeg, image/gif] (LM
Studio's whitelist). To widen or narrow that, target the plugin's id from
your own patch layer (profile cordis.patch.yml or $DSH_HOME/cordis.patch.yml):
- id: image-base64-compat
config:
acceptedMediaTypes: [image/png, image/jpeg, image/gif, image/webp]