dsh-llm-gateway-compat — OpenAI-compatible gateway dialect fixes (community plugin) #3814
snowshadow
started this conversation in
Show Your Plugins!
Replies: 1 comment 3 replies
|
Pinning empty streamed dsh plugin --profile web add dsh-llm-gateway-compatthen restart If you want it on the install-test catalog: https://github.com/ylwl1997/dshbase/issues/new?template=plugin-submission.yml Current listings: https://dshbase.com/plugins/directory/ |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Community plugin, not an official DeepSeek package. It is not endorsed by DeepSeek.
OpenAI-compatible gateways (Bailian, DashScope compatible-mode, vLLM, custom proxies) often break DSH in two ways:
id/nameafter a valid first fragment →unknown tool ""role: "developer"andmax_completion_tokens→ HTTP 400This bundle does three things:
llm/streamso empty identity cannot overwrite a nonempty valuellm-pi-aicompatfields and retries the same step oncesystem+max_tokens, plusextraBody/api-keyheaders / thinking dialectsInstall
From npm (recommended — ships built
lib/, no install-time build):Restart
dsh web.From GitHub, pin the tag. pnpm ≥10 may ask you to allow
prepare:npm: https://www.npmjs.com/package/dsh-llm-gateway-compat
Repo: https://github.com/snowshadow/dsh-llm-gateway-compat
This does not replace an official adapter fix. It is a community mitigation for:
社区插件,不是 DeepSeek 官方包,也未获 DeepSeek 背书。
OpenAI 兼容网关(百炼、DashScope compatible-mode、vLLM、自建代理)常见两类失败:流式 tool-call 空
id/name变成unknown tool "";推理请求带developer/max_completion_tokens被 400。这个 bundle:消毒
llm/stream、把那两种 400 写进官方llm-pi-aicompat 并重试一次、还可以自己挂默认system+max_tokens的 Chat Completions 路由。推荐安装:
请自行 review 源码后再安装。
All reactions