wuyiwuaa1-ship-it/dsh-read-image-jpeg-fallback0

dsh-read-image-jpeg-fallback

DSH profile plugin: converts read_image PNG/WebP attachments to opaque sRGB JPEG so LM Studio's openai-completions endpoint accepts them

AI Analysis

核心用途是解决部分模型端点不支持透明图像的问题。适合使用 LM Studio 等 openai-completions 接口且需要处理图片输入的用户。

Package
dsh-read-image-jpeg-fallback
Version
0.1.1
License
MIT
Last updated
Aug 26, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wuyiwuaa1-ship-it/dsh-read-image-jpeg-fallback

Usage

No configuration is required.

Use read_image normally. When its successful result contains a PNG or WebP image block, the plugin creates a JPEG replacement for the model-visible attachment before the next provider request is built.

There is no new model-facing tool to learn and no change to the normal agent workflow.