pureexe/dsh-vision-3090-fix ↗★ 0

dsh-vision-3090-fix

本地反向代理限制单次请求图像数以适配图片限制型后端 适合自托管vLLM等拒绝多图场景;需配置上游与监听端口,越权配置可能导致转发请求失败。

包名
dsh-vision-3090-fix
兼容性
待验证
Cordis 依赖范围
^4.0.2
版本
0.2.0
许可证
MIT
最近更新
2026年9月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pureexe/dsh-vision-3090-fix

Configuration reference

FieldDefaultMeaning
upstreamOrigin(required)Scheme+host+port of the real backend, e.g. http://10.204.100.243:1234 — no path
listenHost127.0.0.1Host the proxy listens on
listenPort(required)Port the proxy listens on; point your provider's baseURL at http://:/v1
maxImagesPerRequest1Images kept per forwarded request; excess (oldest first) becomes placeholder text
models[] (every model)Model ids the cap applies to (matched against the request's model field); every other model is forwarded byte-for-byte untouched
verbosefalseLog the startup banner and each request that gets capped. Actual proxy errors (e.g. the upstream is unreachable) are always logged regardless — they aren't routine noise.