优化: UX错误气泡区分重试类型+工具卡按轮次自动收起

This commit is contained in:
2026-06-16 23:48:06 +08:00
parent 107b8486ae
commit bebf2ec329
6 changed files with 77 additions and 20 deletions

View File

@@ -24,6 +24,8 @@ export default {
errorNetwork: '网络连接失败,请检查网络',
// CR-30-2 / F-260616-07(d) / 决策 a1: 流前失败重试中错误气泡内更新文案
aiStreamRetry: '⚠ 调用失败,正在重试({attempt}/{max})…',
// UX-260616-01: Fatal 类错误(4xx/鉴权)不可重试,提示用户去设置而非重试
notRetryable: '此错误无法通过重试解决,请检查配置',
streamInterruptedAfterTool: '⚠ 工具已执行完成,后续回复中断(长时间无数据流)。可点继续重试。',
streamInterrupted: '⚠ 响应中断(长时间无数据流)。可能是网络断连或后端异常,请重试。',
// UX-2025-04 / CR-30-2 / 决策 a1: 流中途失败保文后的系统提示气泡(前端镜像后端 session.messages)

View File

@@ -109,7 +109,7 @@ export default {
editNotLastUser: '只能编辑最后一条用户消息',
placeholderEditing: '编辑消息后回车重新生成Esc 取消)',
// ── 错误气泡操作入口(UX-03) ──
// ── 错误气泡操作入口(UX-03 / UX-260616-01) ──
retry: '重试',
goToSettingsAction: '去设置',