新对话
diff --git a/web/src/layouts/AppLayout.vue b/web/src/layouts/AppLayout.vue
index 55fddc7d..0a005d5e 100644
--- a/web/src/layouts/AppLayout.vue
+++ b/web/src/layouts/AppLayout.vue
@@ -82,11 +82,6 @@ const mainList = [{
path: '/chat',
icon: MessageOutlined,
activeIcon: MessageFilled,
- }, {
- name: '智能体',
- path: '/agent',
- icon: RobotOutlined,
- activeIcon: RobotFilled,
}, {
name: '图谱',
path: '/graph',
diff --git a/web/src/router/index.js b/web/src/router/index.js
index a3dfc862..9aa9673a 100644
--- a/web/src/router/index.js
+++ b/web/src/router/index.js
@@ -30,19 +30,19 @@ const router = createRouter({
}
]
},
- {
- path: '/agent',
- name: 'agent',
- component: AppLayout,
- children: [
- {
- path: '',
- name: 'AgentComp',
- component: () => import('../views/AgentView.vue'),
- meta: { keepAlive: true }
- }
- ]
- },
+ // {
+ // path: '/agent',
+ // name: 'agent',
+ // component: AppLayout,
+ // children: [
+ // {
+ // path: '',
+ // name: 'AgentComp',
+ // component: () => import('../views/AgentView.vue'),
+ // meta: { keepAlive: true }
+ // }
+ // ]
+ // },
{
path: '/graph',
name: 'graph',
@@ -109,6 +109,12 @@ const router = createRouter({
name: 'PDF_to_TXT',
component: () => import('../components/tools/ConvertToTxtComponent.vue'),
},
+ {
+ path: 'agent',
+ name: 'Agent',
+ component: () => import('../views/AgentView.vue'),
+ meta: { keepAlive: true }
+ }
]
},
{
diff --git a/web/src/views/AgentView.vue b/web/src/views/AgentView.vue
index 9b84bb88..31fdaf41 100644
--- a/web/src/views/AgentView.vue
+++ b/web/src/views/AgentView.vue
@@ -48,7 +48,7 @@