diff --git a/web/src/components/Sidebar.vue b/web/src/components/Sidebar.vue index d7166eb..d1e8165 100644 --- a/web/src/components/Sidebar.vue +++ b/web/src/components/Sidebar.vue @@ -41,7 +41,7 @@ interface MenuItem { // 第1组: Chat, Agents const group1 = computed(() => [ - { name: 'Chat', icon: 'fa-robot', path: '/agents' }, + { name: 'Chat', icon: 'fa-robot', path: '/chat' }, { name: 'Agents', icon: 'fa-users', badge: 3, path: '/agents' }, ]) @@ -68,11 +68,6 @@ const group4 = computed(() => [ const activeMenu = computed(() => { const currentPath = route.path - // Special case for /agents - prioritize Chat over Agents - if (currentPath === '/agents') { - return 'Chat' - } - // Check all groups const allGroups = [...group1.value, ...group2.value, ...group3.value, ...group4.value] const item = allGroups.find(item => item.path === currentPath) @@ -135,7 +130,7 @@ const handleUserCommand = (command: string) => {
| Agent Name | +Framework | +Model | +MCP | +Status | +Created | +Actions | +
|---|---|---|---|---|---|---|
|
{{ agent.avatar }}
-
-
- {{ agent.name }}
- {{ agent.description }}
+
+
{{ agent.name }}
+ {{ agent.description }}
|
+ + {{ agent.framework }} + | +{{ agent.model }} | ++ {{ agent.mcpServers }} + | +
+
+
+ {{ agent.status }}
+
+ |
+ {{ agent.createdAt }} | +
+
+
+
+
+
+
+ |
+
No agents found