feat(ai): 对话页接入实时语音、图片识别与失败重试
- 聊天 WebSocket 提到 app 级,语音分片与对话共用连接,补齐心跳、重连与连接单飞 - 语音输入走 asr_start/asr_chunk/asr_stop,中间结果实时回填,链路异常退回整段转写 - 图片选完先上屏再 OCR,识别原文以 format 消息并入对话 - 失败状态挂在原提问上可点击重试,401 静默重登后原样重发 - 消息区改为暖白纸面与头像+时间布局,常见问题与清空收进更多菜单
This commit is contained in:
+4
-2
@@ -1,9 +1,11 @@
|
||||
{
|
||||
"navigationBarTitleText": "AI助手",
|
||||
"navigationBarBackgroundColor": "#ffffff",
|
||||
"navigationBarBackgroundColor": "#FAF6F1",
|
||||
"navigationBarTextStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"backgroundColor": "#FAF6F1",
|
||||
"disableScroll": true,
|
||||
"usingComponents": {
|
||||
"t-icon": "tdesign-miniprogram/icon/icon",
|
||||
"t-chat-markdown": "tdesign-miniprogram/chat-markdown/chat-markdown"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user