diff --git a/src/pages/index/components/chat/ChatCardAi/index.vue b/src/pages/index/components/chat/ChatCardAi/index.vue index aa390e8..4c13597 100644 --- a/src/pages/index/components/chat/ChatCardAi/index.vue +++ b/src/pages/index/components/chat/ChatCardAi/index.vue @@ -46,7 +46,7 @@ const processedText = computed(() => { const textStr = String(props.text); // 处理加载状态的文本 - if (textStr.includes("加载中") || textStr.includes("...")) { + if (textStr.includes("思考中") || textStr.includes("...")) { return textStr; } diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index 6183ef3..8ed813e 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -820,7 +820,7 @@ const sendChat = async (message, isInstruct = false) => { const aiMsg = { msgId: `msg_${chatMsgList.value.length}`, msgType: MessageRole.AI, - msg: "加载中", + msg: "思考中", isLoading: true, messageId: currentSessionMessageId, replyMessageId: '', @@ -892,7 +892,7 @@ const stopRequest = async () => { chatMsgList.value[aiMsgIndex].isLoading = false; if (chatMsgList.value[aiMsgIndex].msg && chatMsgList.value[aiMsgIndex].msg.trim() && - !chatMsgList.value[aiMsgIndex].msg.startsWith("加载中")) { + !chatMsgList.value[aiMsgIndex].msg.startsWith("思考中")) { // 保留已显示内容 } else { chatMsgList.value[aiMsgIndex].msg = "请求已停止";