summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblackhao <13851610112@163.com>2025-12-14 02:34:27 -0600
committerblackhao <13851610112@163.com>2025-12-14 02:34:27 -0600
commit2f19d8cb84598e0822b525f5fb5c456c07448fb7 (patch)
tree339d543d4c832305b812cbd11b2695b5b0166755
parent189c462e18292b7b6abc5f8e9ef958aac9e19030 (diff)
rm 4.5HEADmain
-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)">