dsh-provider-qoder
其他 活跃维护

dsh-provider-qoder

minglu6/dsh-provider-qoder

支持DeepSeek Harness对接Qoder中文交互能力,可无缝完成中文场景下的功能调用与数据适配,无需额外配置即可使用,贴合中文开发者的操作习惯。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
64 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:minglu6/dsh-provider-qoder
git clone https://github.com/minglu6/dsh-provider-qoder.git
git clone git@github.com:minglu6/dsh-provider-qoder.git
README.md main

dsh-provider-qoder

Qoder CN adapter plugin for DeepSeek Harness.

Installs the qoder-cn provider route: COSY-signed, WAF-encoded streaming against gateway.qoder.com.cn. A Qoder PAT (pt-...) is stored through the Models page and exchanged per process for a short-lived job token.

Install

From a machine that already has dsh and pnpm:

dsh plugin --profile web add github:minglu6/dsh-provider-qoder
dsh web

Then Settings → Models → Add provider → qoder-cn. Paste a PAT. Public cloud needs only the PAT; enterprise VPC can be set in settings.yaml (llm-qoder.vpcInstance).

The Models page key field for third-party adapters requires a DeepSeek Harness build that treats unknown adapter families as API-key cards. Until that lands upstream, export QODERCN_PERSONAL_ACCESS_TOKEN.

Remove:

dsh plugin --profile web remove dsh-provider-qoder

From a DeepSeek Harness checkout:

pnpm dsh plugin --profile web add github:minglu6/dsh-provider-qoder
pnpm dsh web

Config

The plugin registers the llm-qoder settings namespace. Connection facts resolve per request. Leave gateway and OpenAPI URLs empty for public cloud.

Unless models is configured, the adapter fetches Qoder's signed live catalog from /algo/api/v2/model/list whenever DSH lists the provider. Newly released wire keys such as gmodel therefore appear without a plugin update; known wire keys retain stable selector ids such as gm51model → glm-5.2. Exact-model resolution reuses the latest successful catalog in the current process.

models remains an optional complete static override for deployments that intentionally pin the selector catalog. It replaces live discovery rather than extending it. Authentication, transport, invalid JSON, and empty-catalog failures surface as discovery errors instead of falling back to an obsolete built-in list.

License

MIT