refactor(agent): 重构智能体模块

- 优化了路由配置,调整了菜单项的层级结构
- 重构了聊天页面的逻辑,简化了配置项
- 优化了历史聊天组件的使用方式
- 调整了智能体列表的展示样式
This commit is contained in:
林志军
2025-07-18 10:11:13 +08:00
parent af147625ae
commit 81a36d72cc
4 changed files with 26 additions and 90 deletions

View File

@ -1,6 +1,7 @@
import Http from '@/api';
// 获取聊天智能体
export const getChatAgent = (id: number) => {
console.log('param.id',id);
return Http.get(`/v1/agent/getChatAgent/${id}`);
};