pureexe/dsh-image-base640

dsh-image-base64

发送视觉请求前将图像转为Base64格式

AI 分析

适合使用LM Studio等对非PNG/JPEG/GIF格式报错的网关的用户。

包名
dsh-image-base64
版本
0.1.0
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pureexe/dsh-image-base64

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]