mirror of
https://github.com/ZhuLinsen/daily_stock_analysis
synced 2026-09-20 10:53:33 +08:00
Improve analysis API async contracts and startup helpers (#656)
* Improve analysis API async contracts and startup helpers * Fix rebased analysis API contract regressions * fix: align frontend report type union with full responses
This commit is contained in:
@@ -224,6 +224,8 @@
|
||||
| `/api/v1/agent/chat/stream` | POST (SSE) | Agent 多輪策略對話(流式) |
|
||||
| `/api/health` | GET | 健康檢查 |
|
||||
|
||||
> 備註:`POST /api/v1/analysis/analyze` 在 `async_mode=false` 時僅支援單一股票;批量 `stock_codes` 需使用 `async_mode=true`。異步 `202` 對單股回傳 `task_id`,對批量回傳 `accepted` / `duplicates` 匯總。
|
||||
|
||||
## 項目結構
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user