mirror of
https://github.com/ZhuLinsen/daily_stock_analysis
synced 2026-09-20 10:53:33 +08:00
feat: add MiniMax Coding Plan web search provider (#493)
* feat: add MiniMax Coding Plan web search provider - Add MiniMaxSearchProvider class with POST API to api.minimaxi.com - Priority: Bocha > MiniMax > Tavily > Brave > SerpAPI - Dual time-filtering: query augmentation + client-side date filtering - Circuit breaker: 3 consecutive failures -> 300s cooldown - New MINIMAX_API_KEY env var (supports multiple keys, comma-separated) - Update config.py, search_service.py, .env.example * docs: add MiniMax search provider to all documentation - .env.example: add MINIMAX_API_KEY and BOCHA_API_KEYS with priority note - README.md: update tech stack table and secrets table - docs/full-guide.md: add MiniMax to config tables and search service section - docs/full-guide_EN.md: add MiniMax to config tables and search service section - docs/README_EN.md: update tech stack and secrets tables - docs/README_CHT.md: update tech stack and secrets tables - docs/DEPLOY.md: add MiniMax to env var tables - docs/DEPLOY_EN.md: add MiniMax to env var tables - docs/docker/zeabur-deployment.md: add MiniMax to analysis config table - docs/CHANGELOG.md: add MiniMax provider to Unreleased section * update doc * refactor(search_service): 调整搜索提供者初始化顺序及参数位置 将MiniMax搜索提供者的参数位置和初始化顺序调整到最后,保持代码逻辑清晰 * 添加其他多处minimax_api_keys支持并调整参数顺序 * 增加 Bocha 和 Minimax 的前端配置 * fix: 将MINIMAX_API_KEYS改为单数形式 * docs(CHANGELOG): 调整MiniMax搜索提供商的优先级顺序 更新CHANGELOG.md中MiniMax搜索提供商的优先级描述,从Bocha > MiniMax > Tavily > Brave > SerpAPI调整为Bocha > Tavily > Brave > SerpAPI > MiniMax * fix: 统一 MINIMAX_API_KEY 为 MINIMAX_API_KEYS 以保持命名一致性 --------- Co-authored-by: mumu <42829555+ZhuLinsen@users.noreply.github.com>
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
|------|------|
|
||||
| AI 模型 | Gemini(免費)、OpenAI 兼容、DeepSeek、通義千問、Claude、Ollama |
|
||||
| 行情數據 | AkShare、Tushare、Pytdx、Baostock、YFinance |
|
||||
| 新聞搜索 | Tavily、SerpAPI、Bocha、Brave |
|
||||
| 新聞搜索 | Tavily、SerpAPI、Bocha、Brave、MiniMax |
|
||||
|
||||
### 內建交易紀律
|
||||
|
||||
@@ -119,6 +119,7 @@
|
||||
|------------|------|:----:|
|
||||
| `STOCK_LIST` | 自選股代碼,如 `600519,hk00700,AAPL,TSLA` | ✅ |
|
||||
| `TAVILY_API_KEYS` | [Tavily](https://tavily.com/) 搜索 API(新聞搜索) | 推薦 |
|
||||
| `MINIMAX_API_KEYS` | [MiniMax](https://platform.minimaxi.com/) Coding Plan Web Search(結構化搜索結果) | 可選 |
|
||||
| `BOCHA_API_KEYS` | [博查搜索](https://open.bocha.cn/) Web Search API(中文搜索優化,支持AI摘要,多個key用逗號分隔) | 可選 |
|
||||
| `BRAVE_API_KEYS` | [Brave Search](https://brave.com/search/api/) API(隱私優先,美股優化,多個key用逗號分隔) | 可選 |
|
||||
| `SERPAPI_API_KEYS` | [SerpAPI](https://serpapi.com/baidu-search-api?utm_source=github_daily_stock_analysis) 備用搜索 | 可選 |
|
||||
|
||||
Reference in New Issue
Block a user