可信代码库-AI大模型bug修复及相关功能修改

This commit is contained in:
付民康
2025-06-20 14:04:51 +08:00
parent e06e12ec06
commit 513c736af1
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
<div class="flex-1 flex items-center justify-end" v-if="!isHome">
<Search class="g-toolbar-left-search" v-if="!isMobile" :key="$route.fullPath" />
</div>
<!--AI-->
<a v-if="!isHome" @click="gotoAI">
<img style="width: 98px;height: 32px;cursor: pointer" src="@/assets/imgs/jyh/ai/ai_zh.png" />
</a>

View File

@@ -351,6 +351,7 @@ const getAIAnswer = async (content) => {
// 处理思考过程
const thinkProcess = processThinkStates(states);
messages.value[messages.value.length - 1].thinkProcess = thinkProcess;
messages.value[messages.value.length - 1].thinkExpanded = true;
if(type==='text') {
messages.value[messages.value.length - 1].content = text;