dsh-image-base64
DeepSeek Harness plugin: transcodes images to a base64-safe format (PNG) before a vision request, fixing gateways like LM Studio that reject non-PNG/JPEG/GIF data URLs with "'url' field must be a base64 encoded image."
AI Analysis
适合使用LM Studio等对非PNG/JPEG/GIF格式报错的网关的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pureexe/dsh-image-base64README
Read the full 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]