dsh-weather¶
⭐ 7 · ✅ active · plugin · ⬆️ +1 recently
| Type | plugin | Category | Developer tools |
| Stars | ⭐ 7 | Status | ✅ active |
| Author | sunshine-lang | Updated | 2026-08-14 |
| Subcategory | 🧰 Toolkits | Capabilities | search |
One-liner¶
Weather tool: current conditions and multi-day forecasts via Open-Meteo, free with no API key.
About¶
English | 中文 DeepSeek Harness 天气工具:查询任意城市或地点的实时天气与多日预报,数据来自 Open-Meteo——免费、无需 API key、无需注册。
✨ Key Features¶
get_weather工具:实时温度、体感温度、湿度、风速与天气状况。- 可选多日预报(最多 7 天):每日最高/最低温度与天气状况。
- 支持摄氏 / 华氏温度单位。
- 无需 API key;数据来源:Open-Meteo。
📦 Install¶
dsh plugin --profile web add "github:sunshine-lang/dsh-weather"
🚀 Quick Start¶
dsh plugin --profile web add dsh-weather
📚 Learn more¶
从 GitHub 安装
dsh plugin --profile web add "github:sunshine-lang/dsh-weather" 然后重启 dsh --profile web。lib/ 已预构建并提交,安装无需构建权限。
从本地源码安装(开发)
dsh plugin --profile web add ./dsh-weather > 注意:pnpm 对 link: 方式的本地依赖不会自动安装其依赖,需要手动添加到 profile(通过 registry 或 GitHub 安装则会自动处理): > > sh > dsh plugin --profile web add @deepseek-ai/dsh-tools @deepseek-ai/cordis @deepseek-ai/schemastery >
使用方法
启动 Web UI 后,向模型提问,例如: > 上海现在天气怎么样? > > 查一下东京的天气,用华氏度,并给出 3 天预报。 模型会调用 get_weather:参数 location(必填),可选 units(celsius | fahrenheit)和 days(1–7)。
配置
可通过 cordis.patch.yml 或 profile 的 patch 层覆盖任意配置项: - id: dsh-weather config: defaultUnits: fahrenheit timeoutMs: 15000 maxForecastDays: 5 配置无效时插件加载会直接失败,并给出可操作的错误信息。