summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/components/Sidebar.tsx4
1 files changed, 1 insertions, 3 deletions
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)">