Ryker0716/dsh-cascade-search ↗★ 0
dsh-cascade-search
Three-level web-search fallback for DeepSeek Harness: tavily-proxy -> Querit -> DeepSeek official, with GUI configuration.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-cascade-searchREADME
Read the full README ↗配置(命令行 / 手改)
等价于设置页,直接改 profile 的 cordis.patch.yml:
- id: cascade-search
name: dsh-cascade-search
config:
order: [tavily, querit, deepseek] # 优先级,可任意重排
adopt: true # 见下节
tavilyEnabled: true # false = 跳过该级,不删密钥
tavilyUrl: http://localhost:9100
tavilyCredentialRef: TAVILY_PROXY_AUTH_KEY
tavilyTimeoutMs: 10000 # 该级独立预算
tavilyDepth: basic # basic | advanced
queritEnabled: true
queritUrl: https://api.querit.ai/v1/search
queritCredentialRef: QUERIT_API_KEY
queritTimeoutMs: 25000
deepseekEnabled: true
deepseekUrl: https://api.deepseek.com/v1/tools/search
deepseekCredentialRef: DEEPSEEK_API_KEY
deepseekTimeoutMs: 60000
[!note] 为什么字段是扁平的 设置页一个控件对应一个字段,写路径只有单段(
path: ['tavilyUrl'])。嵌套的tavily.url在 GUI 里不可达,所以字段一律「后端前缀 + 驼峰」。旧版的嵌套写法已不再被 schema 接受。
[!warning] patch 对
config是整体替换,不是深合并 只写order会让其余字段回到默认值。要改某级参数,把整个config写全——或者干脆用设置页,它只写被改动的那几个键。
不想让官方 API 兜底
把 deepseekEnabled 设为 false(密钥保留,随时可开回来),或从 .credentials.yaml 删掉 DEEPSEEK_API_KEY。