dsh-plugin-tokenmarket
在终端中运行以下命令:
dsh plugin install Duqiyan2/dsh-plugin-tokenmarket
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中执行 dsh plugin install Duqiyan2/dsh-plugin-tokenmarket,从 https://github.com/Duqiyan2/dsh-plugin-tokenmarket 安装 Token Market Profile Bundle 并加入当前 profile。
插件介绍
在 Harness 里接入多家大模型,往往意味着多套密钥、多套路由和不同的调用约定。Token Market 把多种模型族聚合在同一套 OpenAI 兼容 API 背后;本插件以纯配置的 Profile Bundle 形式,把该服务注册进 DeepSeek Harness,让你在同一 profile 里用统一方式调用,而不必在仓库里散落各家的接入代码。
插件挂载官方 pi-ai 适配器,走 openai-completions 协议,支持流式输出、工具调用,以及 DeepSeek 兼容的 reasoning/thinking 格式。凭证通过环境变量或 Harness 支持的 .env 引用,不写入配置文件;还可通过 GET /v1/models 做实时模型发现。起步目录刻意保持精简,内置 DeepSeek V4 Pro、Kimi K3、GLM-5.3 等可验证的 starter 模型,便于在 Token Market 侧变更时快速对照。
适合已在用 DeepSeek Harness 开发者预览(兼容 0.1.5-rc.1 一类版本)、持有 Token Market Console API Key,并希望在同一 Harness profile 里切换 DeepSeek、Kimi、GLM 等模型做推理、Agent 或工具链实验的开发者。若你更关心「一把密钥、一种调用面、Harness 原生能力齐全」,而不是自建多 provider 胶水层,这个 bundle 会很对口。
使用场景
- 在同一 Harness profile 里用一把 Token Market 密钥切换 DeepSeek、Kimi、GLM 等模型
- 构建带流式输出与工具调用的 Agent,并保留 DeepSeek 风格 reasoning 展示
- 启动或回归前通过实时模型目录确认 bundled starter 模型仍可用
适合人员
- 使用 DeepSeek Harness 开发者预览的插件与 profile 维护者
- 已开通 Token Market API Key、希望统一接入多模型族的开发者
- 需要在 Harness 内做推理与工具链实验、又不想自建多 provider 胶水的人