What happened?
Currently, when the backend API (port 8000) is unreachable, the Research page displays a raw JSON error message: {"detail":"Upstream API unreachable...", "error":"fetch failed"}.
What did you expect?
Display a clear, human-readable message: " 你的API key未填写“或别的 展示正确的原因
Steps to reproduce
- 运行网页前端且不配置api key
- 到research page可以看到
Logs / stack trace
Commit / branch
No response
Environment
No response
What happened?
Currently, when the backend API (port 8000) is unreachable, the Research page displays a raw JSON error message: {"detail":"Upstream API unreachable...", "error":"fetch failed"}.
What did you expect?
Display a clear, human-readable message: " 你的API key未填写“或别的 展示正确的原因
Steps to reproduce
Logs / stack trace
Commit / branch
No response
Environment
No response