pureexe/dsh-image-base64 ↗★ 0

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." 适合使用LM Studio等对非PNG/JPEG/GIF格式报错的网关的用户。

패키지
dsh-image-base64
호환성
미검증
Cordis peer 범위
^4.0.2
버전
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]