搜索、小助手推荐位
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
<img v-else src="@/assets/imgs/assistant.svg" alt="AI助手" class="welcome-avatar" />
|
||||
</div>
|
||||
<h2>你好!我是{{ agentConfig?.name || 'AI助手' }}</h2>
|
||||
<p>{{ agentConfig?.systemPrompt || '有什么可以帮助你的吗?' }}</p>
|
||||
<AIRecommend />
|
||||
</div>
|
||||
|
||||
<!-- 消息列表 -->
|
||||
@@ -189,6 +189,7 @@ import { ref, computed, onMounted, onUnmounted, nextTick } from 'vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import { chatApi, chatHistoryApi, aiAgentConfigApi, fileUploadApi } from '@/apis/ai';
|
||||
import type { AiConversation, AiMessage, AiAgentConfig, AiUploadFile } from '@/types/ai';
|
||||
import { AIRecommend } from '@/views/public/ai';
|
||||
|
||||
interface AIAgentProps {
|
||||
agentId?: string;
|
||||
|
||||
Reference in New Issue
Block a user