samirhosninet commited on
Commit
81ef15a
Β·
1 Parent(s): 61a27d7

Update terminal simulation models to modern versions: gemini 3.5, opus 4.7, glm 5.1, qwen 4.6

Browse files
Files changed (1) hide show
  1. components/HubLiveTerminal.tsx +7 -7
components/HubLiveTerminal.tsx CHANGED
@@ -120,15 +120,15 @@ export function HubLiveTerminal() {
120
  appendLine("system", "MODEL LATENCY COST/1M TOK ROUTING SCORE");
121
  appendLine("system", "---------------------------------------------------------------");
122
  await new Promise((r) => setTimeout(r, 200));
123
- appendLine("info", "Claude 3.5 Sonnet 270ms $3.00 98.5/100 (Optimum)");
124
  await new Promise((r) => setTimeout(r, 150));
125
- appendLine("output", "GPT-4o 310ms $5.00 97.0/100");
126
  await new Promise((r) => setTimeout(r, 150));
127
- appendLine("output", "Gemini 1.5 Pro 430ms $7.00 94.8/100");
128
  await new Promise((r) => setTimeout(r, 150));
129
- appendLine("output", "Mistral Large 2 480ms $4.00 91.5/100");
130
  await new Promise((r) => setTimeout(r, 300));
131
- appendLine("success", "πŸ† Recommendation: Route to Claude 3.5 Sonnet (Optimizes cost/speed ratio)");
132
  break;
133
 
134
  case "route":
@@ -138,9 +138,9 @@ export function HubLiveTerminal() {
138
  await new Promise((r) => setTimeout(r, 450));
139
  appendLine("info", "[ROUTER] Checking constraints: Context size > 2M, Cost budget < $20");
140
  await new Promise((r) => setTimeout(r, 450));
141
- appendLine("info", "[ROUTER] Checking candidates: Claude 3 Opus (budget fail), GPT-4o (context limit fail)");
142
  await new Promise((r) => setTimeout(r, 500));
143
- appendLine("success", "βœ” Route mapped: Google Gemini 1.5 Pro (2M context limit native)");
144
  await new Promise((r) => setTimeout(r, 300));
145
  appendLine("success", "βœ” Query processed. Execution: 1.62s. Transaction Cost: $14.40");
146
  break;
 
120
  appendLine("system", "MODEL LATENCY COST/1M TOK ROUTING SCORE");
121
  appendLine("system", "---------------------------------------------------------------");
122
  await new Promise((r) => setTimeout(r, 200));
123
+ appendLine("info", "Claude 4.7 Opus 270ms $3.00 98.5/100 (Optimum)");
124
  await new Promise((r) => setTimeout(r, 150));
125
+ appendLine("output", "Qwen 4.6 310ms $5.00 97.0/100");
126
  await new Promise((r) => setTimeout(r, 150));
127
+ appendLine("output", "Gemini 3.5 Pro 430ms $7.00 94.8/100");
128
  await new Promise((r) => setTimeout(r, 150));
129
+ appendLine("output", "GLM 5.1 480ms $4.00 91.5/100");
130
  await new Promise((r) => setTimeout(r, 300));
131
+ appendLine("success", "πŸ† Recommendation: Route to Claude 4.7 Opus (Optimizes cost/speed ratio)");
132
  break;
133
 
134
  case "route":
 
138
  await new Promise((r) => setTimeout(r, 450));
139
  appendLine("info", "[ROUTER] Checking constraints: Context size > 2M, Cost budget < $20");
140
  await new Promise((r) => setTimeout(r, 450));
141
+ appendLine("info", "[ROUTER] Checking candidates: Claude 4.7 Opus (budget fail), Qwen 4.6 (context limit fail)");
142
  await new Promise((r) => setTimeout(r, 500));
143
+ appendLine("success", "βœ” Route mapped: Google Gemini 3.5 Pro (2M context limit native)");
144
  await new Promise((r) => setTimeout(r, 300));
145
  appendLine("success", "βœ” Query processed. Execution: 1.62s. Transaction Cost: $14.40");
146
  break;