nickhelion/dsh-plugins--packages-qwen-token-plan-cn-responses0

dsh-qwen-token-plan-cn-responses

DeepSeek Harness adapter for Qwen Token Plan CN Responses API with live official model/tool catalog sync

包名
dsh-qwen-token-plan-cn-responses
版本
0.1.2
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nickhelion/dsh-plugins#bacabf61cda5f40b6db8e5f4642ac0ca142f1fa4&path:packages/qwen-token-plan-cn-responses

使用

打开 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 覆盖配置。

字段默认值说明
providerIdqwen-token-plan-cn-responsesDSH 路由 ID。
displayNameQwen Token Plan 个人版(Responses + 内置工具)选择器名称。
apiKeyEnvQWEN_TOKEN_PLAN_CN_API_KEYDSH 凭据引用名。
endpointToken Plan 北京 Responses 地址一般无需修改。
harnessauto服务端工具策略。
catalogRefreshMs21600000官方目录刷新周期;设为 0 可关闭周期刷新。
catalogTimeoutMs30000每份官方文档的请求超时。
catalogCacheFile$DSH_HOME/cache/.../catalog.jsonlast-known-good 缓存位置。

harness 支持:

  • auto:启用该模型官方列出的全部内置工具;
  • none:不声明服务端内置工具;
  • 逗号字符串或数组:启用配置集合与模型官方能力的交集。

可用协议工具名:web_searchcode_interpreterweb_extractorweb_search_imageimage_search。选择 web_extractor 时会自动补上平台要求的 web_search