feat(web): retry transient model requests
This commit is contained in:
27
apps/web/tests/snapshots/model-retry.json
Normal file
27
apps/web/tests/snapshots/model-retry.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"beforeRetry": {
|
||||
"partial": "应撤回的半截回复"
|
||||
},
|
||||
"firstRetry": {
|
||||
"notice": "正在重试模型请求(1/2) · 1s",
|
||||
"rows": 1
|
||||
},
|
||||
"scheduled": {
|
||||
"partialVisible": false,
|
||||
"notice": "正在重试模型请求(2/2) · 2s",
|
||||
"rows": 1,
|
||||
"reusedDisclosure": true,
|
||||
"detailsOpen": false,
|
||||
"animated": true
|
||||
},
|
||||
"expanded": {
|
||||
"detailsOpen": true,
|
||||
"delay": "重试延迟:1500ms",
|
||||
"failure": "失败原因:连接被重置"
|
||||
},
|
||||
"completed": {
|
||||
"recovered": "重试后的完整回复",
|
||||
"retryNoticeStillVisible": "已重试模型请求(2/2) · 2s",
|
||||
"animated": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user