fix(chat): 将流式错误信息映射为面向用户的提示方案
This commit is contained in:
1 parent
6757ad869f
commit
10b6f9b692
8 files changed
+127
-2
No files matched your search
@@ -293,6 +293,12 @@
|
||||
"searchByNameOrEmployeeId": "Search by name or employee ID, press Enter",
|
||||
"name": "Name",
|
||||
"employeeIdRequired": "Employee ID is required.",
|
||||
"streamError": {
|
||||
"networkDisconnectedEmpty": "Connection lost before a reply was received. Please try again.",
|
||||
"partialInterrupted": "The reply was interrupted. The content above may be incomplete—please ask again.",
|
||||
"upstreamDisconnected": "The AI service connection was interrupted. Please try again.",
|
||||
"generic": "The request failed. Please try again."
|
||||
},
|
||||
"actions": {
|
||||
"copy": "Copy",
|
||||
"edit": "Edit",
|
||||
|
||||
@@ -293,6 +293,12 @@
|
||||
"searchByNameOrEmployeeId": "ค้นหาด้วยชื่อหรือรหัสพนักงาน แล้วกด Enter",
|
||||
"name": "ชื่อ",
|
||||
"employeeIdRequired": "รหัสพนักงานห้ามว่าง",
|
||||
"streamError": {
|
||||
"networkDisconnectedEmpty": "การเชื่อมต่อขาดหายก่อนได้รับคำตอบ โปรดลองใหม่อีกครั้ง",
|
||||
"partialInterrupted": "การสร้างคำตอบถูกขัดจังหวะ เนื้อหาด้านบนอาจไม่สมบูรณ์ โปรดถามใหม่",
|
||||
"upstreamDisconnected": "การเชื่อมต่อบริการ AI ขาดหาย โปรดลองใหม่อีกครั้ง",
|
||||
"generic": "คำขอล้มเหลว โปรดลองใหม่อีกครั้ง"
|
||||
},
|
||||
"actions": {
|
||||
"copy": "คัดลอก",
|
||||
"edit": "แก้ไข",
|
||||
|
||||
@@ -293,6 +293,12 @@
|
||||
"searchByNameOrEmployeeId": "输入姓名或工号搜索,按回车键查询",
|
||||
"name": "姓名",
|
||||
"employeeIdRequired": "工号不能为空。",
|
||||
"streamError": {
|
||||
"networkDisconnectedEmpty": "连接中断,未能获取回答,请稍后重试。",
|
||||
"partialInterrupted": "回答生成中断,以上内容可能不完整,请重新提问。",
|
||||
"upstreamDisconnected": "AI 服务连接中断,请稍后重试。",
|
||||
"generic": "请求失败,请稍后重试。"
|
||||
},
|
||||
"actions": {
|
||||
"copy": "复制",
|
||||
"edit": "编辑",
|
||||
|
||||
@@ -293,6 +293,12 @@
|
||||
"searchByNameOrEmployeeId": "輸入姓名或工號搜尋,按 Enter 查詢",
|
||||
"name": "姓名",
|
||||
"employeeIdRequired": "工號不能為空。",
|
||||
"streamError": {
|
||||
"networkDisconnectedEmpty": "連線中斷,未能取得回答,請稍後重試。",
|
||||
"partialInterrupted": "回答生成中斷,以上內容可能不完整,請重新提問。",
|
||||
"upstreamDisconnected": "AI 服務連線中斷,請稍後重試。",
|
||||
"generic": "請求失敗,請稍後重試。"
|
||||
},
|
||||
"actions": {
|
||||
"copy": "複製",
|
||||
"edit": "編輯",
|
||||
|
||||
Reference in new issue
Block a user