| | |
| | | }"> |
| | | <div class="myAgentToolIcon___gaAKI myAgentToolIconNew___DBZrW"> |
| | | <img |
| | | src="../../../assets/images/talkbg.svg" |
| | | src="@/assets/images/talk.png" |
| | | style="width: 24px" |
| | | alt=""></div> |
| | | alt=""> |
| | | </div> |
| | | </div> |
| | | <div data-testid="msh-sidebar-history" class="myAgentTool___Y1_mC" @click="()=>{ |
| | | EventBus.emit('history') |
| | | }"> |
| | | <div class="myAgentToolIcon___gaAKI myAgentToolIconHistory___GTLWk" > |
| | | <img |
| | | src="../../../assets/images/history.svg" |
| | | src="@/assets/images/historybg.png" |
| | | style="width: 24px" |
| | | alt=""> |
| | | </div> |
| | |
| | | EventBus.emit('smartAi') |
| | | }"> |
| | | <div class="myAgentToolIcon___gaAKI myAgentToolIconSquare___Rj1o_"><img |
| | | src="../../../assets/images/agentbg.svg" |
| | | src="@/assets/images/agent.png" |
| | | style="width: 24px" |
| | | alt=""></div> |
| | | </div> |
| | |
| | | <div class="myAgentBoxImgLayout___u69B_"> |
| | | <div class="MuiBox-root css-5nczy5"> |
| | | <img |
| | | :src="item.icon ? httpUrl + item.icon:'https://kimi-img.moonshot.cn/prod-chat-kimi/avatar/kimiplus/guess.png'" |
| | | :src="item.icon ? httpUrl + item.icon:imgSrc" |
| | | alt="" |
| | | style="border-radius: 50%; width: 100%; height: 100%;"> |
| | | </div> |
| | |
| | | const httpUrl = localStorage.getItem('httpUrl'); |
| | | import EventBus from '@/utils/EventBus'; |
| | | const emit = defineEmits(["querySessionDetail","changeAgentType","createSession"]); |
| | | import logo from "@/assets/images/model.png"; |
| | | import { appUsageSessionListApi, deleteAppUsage } from "@/api/Agent"; |
| | | import { getAgentSessionDetailsApi } from "@/api/agentSession"; |
| | | const activeSessionId = ref(""); |
| | |
| | | const selectValue = ref(""); |
| | | const sectionList = ref({}); |
| | | const sessionList = ref([]); //用户操作会话列表 |
| | | |
| | | import img1 from '@/assets/images/talkbg.png' |
| | | import logo from "@/assets/images/model.png"; |
| | | const imgSrc = ref(logo); |
| | | |
| | | |
| | | |
| | |
| | | // 查询历史记录 |
| | | if (session.app_type == '1') { |
| | | // 生成智能体新的对话 |
| | | emit('createSession',session.app_id); |
| | | emit('createSession',session.app_id,`和${session.name}的会话`); |
| | | emit('changeAgentType','1'); |
| | | } else { |
| | | // 生成agent新的对话 |