From 2b3281a062bb570f30c8437703bb3af4c0056882 Mon Sep 17 00:00:00 2001 From: zyh Date: Thu, 4 Jun 2026 11:10:27 +0800 Subject: [PATCH] refactor: hide Models nav entry from sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 89cat locks token server to api2.is89.com — users should not add arbitrary AI providers through the Models page. Co-Authored-By: Claude Opus 4.7 --- src/components/layout/Sidebar.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 34fbd13..b0211e9 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -20,7 +20,6 @@ import { Pencil, Check, X, - Cpu, ImagePlus, Moon, ChevronRight, @@ -313,7 +312,6 @@ export function Sidebar() { const coreNavItems = [ { to: '/', icon: , label: t('sidebar.dashboard'), testId: 'sidebar-nav-dashboard' }, { to: '/chat', icon: , label: t('sidebar.chat'), testId: 'sidebar-nav-chat' }, - { to: '/models', icon: , label: t('sidebar.models'), testId: 'sidebar-nav-models' }, { to: '/agents', icon: , label: t('sidebar.agents'), testId: 'sidebar-nav-agents' }, { to: '/channels', icon: , label: t('sidebar.channels'), testId: 'sidebar-nav-channels' }, { to: '/skills', icon: , label: t('sidebar.skills'), testId: 'sidebar-nav-skills' },