maxwell-feng/dsh-tinyfish-search ↗★ 1
dsh-tinyfish-search
TinyFish-backed web search provider for DeepSeek Harness (ctx.web): makes the built-in web_search tool run on the TinyFish Search API — 将内置 web_search 接入 TinyFish Search API 的 DeepSeek Harness 插件
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:maxwell-feng/dsh-tinyfish-search说明文档
阅读完整 README ↗配置
设置 API key(推荐——配置文件中不出现密钥):
Linux / macOS:
export TINYFISH_API_KEY="your_api_key_here" # 仅当前 shell
echo 'export TINYFISH_API_KEY="your_api_key_here"' >> ~/.bashrc # 永久生效(bash)
echo 'export TINYFISH_API_KEY="your_api_key_here"' >> ~/.zshrc # 永久生效(zsh)
source ~/.bashrc # 或重开终端
Windows(PowerShell):
setx TINYFISH_API_KEY "your_api_key_here" # 永久生效——新开的终端生效
$env:TINYFISH_API_KEY = "your_api_key_here" # 仅当前会话生效
或在 profile 的 cordis.yml / patch 层设置字段:
- insert:
- id: dsh-tinyfish-search
name: dsh-tinyfish-search
config:
# apiKey: "字面量密钥" # 环境变量的替代方案;注意不要提交到仓库
# apiKeyEnv: TINYFISH_API_KEY # 默认值
# baseURL: https://api.search.tinyfish.ai # 默认值
| 字段 | 默认值 | 含义 |
|---|---|---|
apiKey | — | TinyFish API key 字面量(secret 角色;优先于环境变量) |
apiKeyEnv | TINYFISH_API_KEY | 承载 API key 的环境变量名 |
baseURL | https://api.search.tinyfish.ai | TinyFish Search API 端点基地址 |