【新增】AI:对话管理 50%

This commit is contained in:
YunaiV
2024-05-25 00:08:40 +08:00
parent ca40047f0b
commit d172d3db73
5 changed files with 196 additions and 18 deletions

View File

@ -1,6 +1,6 @@
<template>
<el-container class="ai-layout">
<!-- 左侧话列表 -->
<!-- 左侧话列表 -->
<Conversation :active-id="activeConversationId"
ref="conversationRef"
@onConversationCreate="handleConversationCreate"
@ -8,7 +8,7 @@
@onConversationClear="handlerConversationClear"
@onConversationDelete="handlerConversationDelete"
/>
<!-- 右侧话详情 -->
<!-- 右侧话详情 -->
<el-container class="detail-container">
<!-- 右顶部 TODO 芋艿右对齐 -->
<el-header class="header">
@ -104,7 +104,6 @@ import MessageNewChat from './MessageNewChat.vue'
import {ChatMessageApi, ChatMessageVO} from '@/api/ai/chat/message'
import {ChatConversationApi, ChatConversationVO} from '@/api/ai/chat/conversation'
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
import {useClipboard} from '@vueuse/core'
import ChatConversationUpdateForm from "@/views/ai/chat/components/ChatConversationUpdateForm.vue";
import {Download, Top} from "@element-plus/icons-vue";
@ -448,7 +447,7 @@ const getMessageList = async () => {
}
}
/** 修改聊天话 */
/** 修改聊天话 */
const chatConversationUpdateFormRef = ref()
const openChatConversationUpdateForm = async () => {
chatConversationUpdateFormRef.value.open(activeConversationId.value)