From 2f19d8cb84598e0822b525f5fb5c456c07448fb7 Mon Sep 17 00:00:00 2001
From: blackhao <13851610112@163.com>
Date: Sun, 14 Dec 2025 02:34:27 -0600
Subject: rm 4.5

---
 frontend/src/components/Sidebar.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'frontend/src/components/Sidebar.tsx')

diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx
index dac853f..5141081 100644
--- a/frontend/src/components/Sidebar.tsx
+++ b/frontend/src/components/Sidebar.tsx
@@ -28,7 +28,7 @@ const Sidebar: React.FC<SidebarProps> = ({ isOpen, onToggle, onInteract }) => {
   // Premium models and authorized users
   const PREMIUM_USERS = ['test', 'blackhao'];
   const canUsePremiumModels = user?.username ? PREMIUM_USERS.includes(user.username) : false;
-  // Premium models: gpt-4.5-preview, gpt-5-pro, gpt-5.2-pro, o3
+  // Premium models: gpt-5-pro, gpt-5.2-pro, o3
   const [activeTab, setActiveTab] = useState<'interact' | 'settings' | 'debug'>('interact');
   const [streamBuffer, setStreamBuffer] = useState('');
   const [streamingNodeId, setStreamingNodeId] = useState<string | null>(null); // Track which node is streaming
@@ -1431,7 +1431,6 @@ const Sidebar: React.FC<SidebarProps> = ({ isOpen, onToggle, onInteract }) => {
                 </optgroup>
                 <optgroup label="OpenAI (Standard)">
                   <option value="gpt-4.1">gpt-4.1</option>
-                  <option value="gpt-4.5-preview" disabled={!canUsePremiumModels}>gpt-4.5-preview {!canUsePremiumModels && '🔒'}</option>
                   <option value="gpt-4o">gpt-4o</option>
                 </optgroup>
                 <optgroup label="OpenAI (Reasoning)">
@@ -2427,7 +2426,6 @@ const Sidebar: React.FC<SidebarProps> = ({ isOpen, onToggle, onInteract }) => {
                   </optgroup>
                   <optgroup label="OpenAI (Standard)">
                     <option value="gpt-4.1">gpt-4.1</option>
-                    <option value="gpt-4.5-preview" disabled={!canUsePremiumModels}>gpt-4.5-preview {!canUsePremiumModels && '🔒'}</option>
                     <option value="gpt-4o">gpt-4o</option>
                   </optgroup>
                   <optgroup label="OpenAI (Reasoning)">
-- 
cgit v1.2.3

