将首页从 mock 数据切换为真实流式会话,统一 API 网络层并支持 SSE 增量解析、超时与断线重试,提升前端在跨域代理和网络抖动场景下的可用性。 Made-with: Cursor
This commit is contained in:
@@ -25,7 +25,9 @@
|
||||
"*.{css,json,md,html,yml,yaml,js,mjs,cjs}": "prettier --write"
|
||||
},
|
||||
"dependencies": {
|
||||
"@microsoft/fetch-event-source": "^2.0.1",
|
||||
"antd": "^6.3.5",
|
||||
"axios": "^1.15.0",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-router-dom": "^7.13.2"
|
||||
|
||||
Reference in New Issue
Block a user