Skip to content

Commit 2204876

Browse files
committed
【解决todo】对话中不允许切换(自动stop stream 删除)
1 parent 61bf6fb commit 2204876

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/views/ai/chat/index/index.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,6 @@ const handleConversationClick = async (conversation: ChatConversationVO) => {
180180
// 更新选中的对话 id
181181
activeConversationId.value = conversation.id
182182
activeConversation.value = conversation
183-
// 处理进行中的对话
184-
// TODO @fan:这里,和上面的 “对话进行中,不允许切换” 是不是重叠了?
185-
if (conversationInProgress.value) {
186-
await stopStream()
187-
}
188183
// 刷新 message 列表
189184
await getMessageList()
190185
// 滚动底部

0 commit comments

Comments
 (0)