shaomingbo/dsh-anyrouter0

dsh-anyrouter

专用的 AnyRouter 适配器,支持 Claude Code 和 Codex 响应协议。

AI 分析

核心用途是将 AnyRouter 接入 DSH 作为模型提供商。适合需要使用 Claude 或 GPT 系列模型,并进行推理力度(reasoning effort)微调的用户。

套件
dsh-anyrouter
版本
0.2.1
授權
MIT
最近更新
2026年8月31日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shaomingbo/dsh-anyrouter

Configuration

Persisted under the llm-anyrouter settings namespace:

llm-anyrouter:
  baseURL: https://anyrouter.top
  models:
    - id: claude-opus-5
      protocol: claude-code
      contextWindow: 1000000
      maxTokens: 128000
      reasoning:
        efforts: [off, minimal, low, medium, high, xhigh, max]
        defaultEffort: high
        adaptive: true          # Claude only: adaptive effort instead of a thinking budget
    - id: gpt-5.6-sol
      protocol: codex-responses
      reasoning:
        efforts: [off, low, medium, high]
        defaultEffort: high

An absent reasoning block falls back to the build-time reference profile generated from pi-ai's catalog (src/model-profiles.generated.ts); disabled: true offers the model without a reasoning control. The API key itself lives in the credentials service (or the launch environment), never in this section.