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

This commit is contained in:
lxy
2026-06-16 23:48:06 +08:00
parent 107b8486ae
commit bebf2ec329
6 changed files with 77 additions and 20 deletions
+2
View File
@@ -24,6 +24,8 @@ export default {
errorNetwork: 'Network connection failed. Please check your network.',
// CR-30-2 / F-260616-07(d) / decision a1: stream pre-failure retry bubble copy
aiStreamRetry: '⚠ Request failed, retrying ({attempt}/{max})…',
// UX-260616-01: Fatal errors (4xx/auth) are not retryable — prompt user to check settings instead
notRetryable: 'This error cannot be resolved by retrying. Please check the configuration.',
streamInterruptedAfterTool: '⚠ The tool finished, but the following reply was interrupted (no data stream for a long time). You can click Continue to retry.',
streamInterrupted: '⚠ The response was interrupted (no data stream for a long time). This may be due to a network disconnection or a backend error. Please try again.',
// UX-2025-04 / CR-30-2 / decision a1: system notice bubble after mid-stream failure preserve (frontend mirrors backend session.messages)
+1 -1
View File
@@ -109,7 +109,7 @@ export default {
editNotLastUser: 'Only the last user message can be edited',
placeholderEditing: 'Edit message then Enter to regenerate (Esc to cancel)',
// ── Error bubble actions (UX-03) ──
// ── Error bubble actions (UX-03 / UX-260616-01) ──
retry: 'Retry',
goToSettingsAction: 'Open settings',