nickhelion/dsh-plugins--packages-qwen-token-plan-cn-responses ↗★ 0
dsh-qwen-token-plan-cn-responses
DeepSeek Harness adapter for Qwen Token Plan CN Responses API with live official model/tool catalog sync
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nickhelion/dsh-plugins#bacabf61cda5f40b6db8e5f4642ac0ca142f1fa4&path:packages/qwen-token-plan-cn-responses说明文档
阅读完整 README ↗使用
打开 DSH 模型选择器,选择提供方:
Qwen Token Plan 个人版(Responses + 内置工具)
再选择带能力标记的模型,例如:
qwen3.8-max(内置工具 5 项)
模型会自动决定是否使用已声明的服务端工具。Harness 工具按成功调用次数消耗 Credits,具体以官方说明为准。
配置
插件 bundle 的默认配置:
- insert:
- id: qwen-token-plan-cn-responses
name: dsh-qwen-token-plan-cn-responses
config:
providerId: qwen-token-plan-cn-responses
apiKeyEnv: QWEN_TOKEN_PLAN_CN_API_KEY
harness: auto
catalogRefreshMs: 21600000
可以在 profile 或 $DSH_HOME/cordis.patch.yml 中按同一 entry id 覆盖配置。
| 字段 | 默认值 | 说明 |
|---|---|---|
providerId | qwen-token-plan-cn-responses | DSH 路由 ID。 |
displayName | Qwen Token Plan 个人版(Responses + 内置工具) | 选择器名称。 |
apiKeyEnv | QWEN_TOKEN_PLAN_CN_API_KEY | DSH 凭据引用名。 |
endpoint | Token Plan 北京 Responses 地址 | 一般无需修改。 |
harness | auto | 服务端工具策略。 |
catalogRefreshMs | 21600000 | 官方目录刷新周期;设为 0 可关闭周期刷新。 |
catalogTimeoutMs | 30000 | 每份官方文档的请求超时。 |
catalogCacheFile | $DSH_HOME/cache/.../catalog.json | last-known-good 缓存位置。 |
harness 支持:
auto:启用该模型官方列出的全部内置工具;none:不声明服务端内置工具;- 逗号字符串或数组:启用配置集合与模型官方能力的交集。
可用协议工具名:web_search、code_interpreter、web_extractor、web_search_image、image_search。选择 web_extractor 时会自动补上平台要求的 web_search。