CARVIN94/dsh-router-codebuddy ↗★ 5
dsh-router-codebuddy
DSH plugin: CodeBuddy supplier family for dsh-router. Provides two same-family suppliers through the router.suppliers cordis service: codebuddy (Tencent CodeBuddy, copilot.tencent.com) and codebuddy-en (WorkBuddy international, www.workbuddy.ai). Both share one implementation; only the gateway profile differs. 适合使用dsh-router并需要接入腾讯CodeBuddy等渠道模型的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CARVIN94/dsh-router-codebuddyREADME
Read the full README ↗使用
- 重启
dsh web - 面板 → 供应商 → CodeBuddy / CodeBuddyEN 卡片 → 添加链接 → 浏览器登录 → 完成添加
新增账号会出现在面板账号池中;模型在供应商详情页点「获取模型」从上游拉取
(列表随服务端下发更新,无需升级插件),仍可手动添加自定义模型。
/v1/chat/completions 请求模型可写 glm-5.3-flash 或带别名前缀
codebuddy/glm-5.3-flash(插件自动剥前缀)。
模型从哪来:
GET /v3/config—— 官方客户端取云端产品配置的同一接口。 它不鉴权也返回 200,但data.models只有在带账号 accessToken 时才下发;所以必须 先添加链接再点获取模型,没账号时只会拿到内置兜底表。回包里的生图/视频模型 (tags含text-to-image等)走不了 chat 端点,会被过滤掉。