Skip to content

Commit 25ad474

Browse files
authored
Merge pull request #310 from shivasurya/shiva/simplify-model-updates
secureflow/enhancement: Implement centralized model configuration system
2 parents 003296f + fe87a89 commit 25ad474

File tree

15 files changed

+1852
-134
lines changed

15 files changed

+1852
-134
lines changed

extension/secureflow/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@
139139
"OpenAI GPT-4o (2024) - Fast, intelligent, flexible GPT model",
140140
"OpenAI GPT-4o Mini (2024) - Fast, affordable small model",
141141
"OpenAI O1 (2024) - Previous full o-series reasoning model",
142-
"Google Gemini 2.5 Pro - State-of-the-art thinking model",
143-
"Google Gemini 2.5 Flash - Best price-performance with thinking",
142+
"Google Gemini 2.5 Pro (2025) - State-of-the-art thinking model",
143+
"Google Gemini 2.5 Flash (2025) - Best price-performance with thinking",
144144
"Anthropic Claude 4.5 Sonnet (2025) - RECOMMENDED for complex agents",
145-
"Anthropic Claude 4.1 Opus (2025) - Exceptional for specialized tasks",
146-
"Anthropic Claude 4 Opus (2025) - Previous flagship model",
147-
"Anthropic Claude 4 Sonnet (2025) - High-performance model",
145+
"Anthropic Claude Opus 4.1 (2025) - Exceptional for specialized tasks",
146+
"Anthropic Claude Opus 4 (2025) - Previous flagship model",
147+
"Anthropic Claude Sonnet 4 (2025) - High-performance model",
148148
"Anthropic Claude 3.7 Sonnet (2025) - With toggleable extended thinking",
149149
"Anthropic Claude 4.5 Haiku (2025) - Fastest model with near-frontier intelligence",
150150
"Anthropic Claude 3.5 Haiku (2024) - Fastest model (Older version)",
Lines changed: 331 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,331 @@
1+
{
2+
"$schema": "https://json-schema.org/draft-07/schema#",
3+
"version": "1.0.0",
4+
"lastUpdated": "2025-10-18",
5+
"models": [
6+
{
7+
"id": "gpt-5-pro",
8+
"provider": "openai",
9+
"client": "OpenAIClient",
10+
"displayName": "GPT-5 Pro",
11+
"description": "Extended reasoning for most complex tasks",
12+
"year": 2025,
13+
"contextWindow": 400000,
14+
"maxOutput": 128000,
15+
"status": "available",
16+
"recommended": false,
17+
"order": 1
18+
},
19+
{
20+
"id": "gpt-5",
21+
"provider": "openai",
22+
"client": "OpenAIClient",
23+
"displayName": "GPT-5",
24+
"description": "Most advanced model for coding and agentic tasks",
25+
"year": 2025,
26+
"contextWindow": 400000,
27+
"maxOutput": 128000,
28+
"status": "available",
29+
"recommended": false,
30+
"order": 2
31+
},
32+
{
33+
"id": "gpt-5-mini",
34+
"provider": "openai",
35+
"client": "OpenAIClient",
36+
"displayName": "GPT-5 Mini",
37+
"description": "Faster, cost-efficient version",
38+
"year": 2025,
39+
"contextWindow": 200000,
40+
"maxOutput": 64000,
41+
"status": "available",
42+
"recommended": false,
43+
"order": 3
44+
},
45+
{
46+
"id": "gpt-5-nano",
47+
"provider": "openai",
48+
"client": "OpenAIClient",
49+
"displayName": "GPT-5 Nano",
50+
"description": "Fastest, most cost-efficient version",
51+
"year": 2025,
52+
"contextWindow": 128000,
53+
"maxOutput": 32000,
54+
"status": "available",
55+
"recommended": false,
56+
"order": 4
57+
},
58+
{
59+
"id": "o3",
60+
"provider": "openai",
61+
"client": "OpenAIClient",
62+
"displayName": "O3",
63+
"description": "Most powerful reasoning model",
64+
"year": 2025,
65+
"contextWindow": 200000,
66+
"maxOutput": 32768,
67+
"status": "available",
68+
"recommended": false,
69+
"order": 5
70+
},
71+
{
72+
"id": "o3-pro",
73+
"provider": "openai",
74+
"client": "OpenAIClient",
75+
"displayName": "O3 Pro",
76+
"description": "O3 with extended thinking",
77+
"year": 2025,
78+
"contextWindow": 200000,
79+
"maxOutput": 32768,
80+
"status": "available",
81+
"recommended": false,
82+
"order": 6
83+
},
84+
{
85+
"id": "o3-mini",
86+
"provider": "openai",
87+
"client": "OpenAIClient",
88+
"displayName": "O3 Mini",
89+
"description": "Cost-efficient reasoning model",
90+
"year": 2025,
91+
"contextWindow": 200000,
92+
"maxOutput": 100000,
93+
"status": "available",
94+
"recommended": false,
95+
"order": 7
96+
},
97+
{
98+
"id": "o4-mini",
99+
"provider": "openai",
100+
"client": "OpenAIClient",
101+
"displayName": "O4 Mini",
102+
"description": "Fast, cost-efficient reasoning model",
103+
"year": 2025,
104+
"contextWindow": 200000,
105+
"maxOutput": 65536,
106+
"status": "available",
107+
"recommended": false,
108+
"order": 8
109+
},
110+
{
111+
"id": "gpt-4.1",
112+
"provider": "openai",
113+
"client": "OpenAIClient",
114+
"displayName": "GPT-4.1",
115+
"description": "Smartest non-reasoning model, 1M context",
116+
"year": 2025,
117+
"contextWindow": 1000000,
118+
"maxOutput": 32768,
119+
"status": "available",
120+
"recommended": false,
121+
"order": 9
122+
},
123+
{
124+
"id": "gpt-4.1-mini",
125+
"provider": "openai",
126+
"client": "OpenAIClient",
127+
"displayName": "GPT-4.1 Mini",
128+
"description": "Fast, capable, efficient small model",
129+
"year": 2025,
130+
"contextWindow": 128000,
131+
"maxOutput": 16384,
132+
"status": "available",
133+
"recommended": false,
134+
"order": 10
135+
},
136+
{
137+
"id": "gpt-4o",
138+
"provider": "openai",
139+
"client": "OpenAIClient",
140+
"displayName": "GPT-4o",
141+
"description": "Fast, intelligent, flexible GPT model",
142+
"year": 2024,
143+
"contextWindow": 128000,
144+
"maxOutput": 16384,
145+
"status": "available",
146+
"recommended": false,
147+
"order": 11
148+
},
149+
{
150+
"id": "gpt-4o-mini",
151+
"provider": "openai",
152+
"client": "OpenAIClient",
153+
"displayName": "GPT-4o Mini",
154+
"description": "Fast, affordable small model",
155+
"year": 2024,
156+
"contextWindow": 128000,
157+
"maxOutput": 16384,
158+
"status": "available",
159+
"recommended": false,
160+
"order": 12
161+
},
162+
{
163+
"id": "o1",
164+
"provider": "openai",
165+
"client": "OpenAIClient",
166+
"displayName": "O1",
167+
"description": "Previous full o-series reasoning model",
168+
"year": 2024,
169+
"contextWindow": 200000,
170+
"maxOutput": 32768,
171+
"status": "available",
172+
"recommended": false,
173+
"order": 13
174+
},
175+
{
176+
"id": "gemini-2.5-pro",
177+
"provider": "google",
178+
"client": "GeminiClient",
179+
"displayName": "Gemini 2.5 Pro",
180+
"description": "State-of-the-art thinking model",
181+
"year": 2025,
182+
"contextWindow": 1048576,
183+
"maxOutput": 65536,
184+
"status": "available",
185+
"recommended": false,
186+
"order": 14
187+
},
188+
{
189+
"id": "gemini-2.5-flash",
190+
"provider": "google",
191+
"client": "GeminiClient",
192+
"displayName": "Gemini 2.5 Flash",
193+
"description": "Best price-performance with thinking",
194+
"year": 2025,
195+
"contextWindow": 1048576,
196+
"maxOutput": 65536,
197+
"status": "available",
198+
"recommended": false,
199+
"order": 15
200+
},
201+
{
202+
"id": "claude-sonnet-4-5-20250929",
203+
"provider": "anthropic",
204+
"client": "ClaudeClient",
205+
"displayName": "Claude 4.5 Sonnet",
206+
"description": "RECOMMENDED for complex agents",
207+
"year": 2025,
208+
"contextWindow": 200000,
209+
"contextWindowBeta": 1000000,
210+
"maxOutput": 64000,
211+
"status": "available",
212+
"recommended": true,
213+
"order": 16
214+
},
215+
{
216+
"id": "claude-opus-4-1-20250805",
217+
"provider": "anthropic",
218+
"client": "ClaudeClient",
219+
"displayName": "Claude Opus 4.1",
220+
"description": "Exceptional for specialized tasks",
221+
"year": 2025,
222+
"contextWindow": 200000,
223+
"maxOutput": 64000,
224+
"status": "available",
225+
"recommended": false,
226+
"order": 17
227+
},
228+
{
229+
"id": "claude-opus-4-20250514",
230+
"provider": "anthropic",
231+
"client": "ClaudeClient",
232+
"displayName": "Claude Opus 4",
233+
"description": "Previous flagship model",
234+
"year": 2025,
235+
"contextWindow": 200000,
236+
"contextWindowBeta": 1000000,
237+
"maxOutput": 64000,
238+
"status": "available",
239+
"recommended": false,
240+
"order": 18
241+
},
242+
{
243+
"id": "claude-sonnet-4-20250514",
244+
"provider": "anthropic",
245+
"client": "ClaudeClient",
246+
"displayName": "Claude Sonnet 4",
247+
"description": "High-performance model",
248+
"year": 2025,
249+
"contextWindow": 200000,
250+
"contextWindowBeta": 1000000,
251+
"maxOutput": 64000,
252+
"status": "available",
253+
"recommended": false,
254+
"order": 19
255+
},
256+
{
257+
"id": "claude-3-7-sonnet-20250219",
258+
"provider": "anthropic",
259+
"client": "ClaudeClient",
260+
"displayName": "Claude 3.7 Sonnet",
261+
"description": "With toggleable extended thinking",
262+
"year": 2025,
263+
"contextWindow": 200000,
264+
"maxOutput": 128000,
265+
"status": "available",
266+
"recommended": false,
267+
"order": 20
268+
},
269+
{
270+
"id": "claude-haiku-4-5",
271+
"provider": "anthropic",
272+
"client": "ClaudeClient",
273+
"displayName": "Claude 4.5 Haiku",
274+
"description": "Fastest model with near-frontier intelligence",
275+
"year": 2025,
276+
"contextWindow": 200000,
277+
"maxOutput": 64000,
278+
"status": "available",
279+
"recommended": false,
280+
"order": 21
281+
},
282+
{
283+
"id": "claude-3-5-haiku-20241022",
284+
"provider": "anthropic",
285+
"client": "ClaudeClient",
286+
"displayName": "Claude 3.5 Haiku",
287+
"description": "Fastest model (Older version)",
288+
"year": 2024,
289+
"contextWindow": 200000,
290+
"maxOutput": 8192,
291+
"status": "available",
292+
"recommended": false,
293+
"order": 22
294+
},
295+
{
296+
"id": "grok-4-fast-reasoning",
297+
"provider": "xai",
298+
"client": "GrokClient",
299+
"displayName": "Grok 4 Fast Reasoning",
300+
"description": "Fast reasoning with 2M context",
301+
"year": 2025,
302+
"contextWindow": 2000000,
303+
"maxOutput": 65536,
304+
"status": "available",
305+
"recommended": false,
306+
"order": 23
307+
}
308+
],
309+
"providerInfo": {
310+
"openai": {
311+
"name": "OpenAI",
312+
"apiKeyEnvVar": "OPENAI_API_KEY"
313+
},
314+
"anthropic": {
315+
"name": "Anthropic",
316+
"apiKeyEnvVar": "ANTHROPIC_API_KEY"
317+
},
318+
"google": {
319+
"name": "Google",
320+
"apiKeyEnvVar": "GOOGLE_API_KEY"
321+
},
322+
"xai": {
323+
"name": "xAI",
324+
"apiKeyEnvVar": "XAI_API_KEY"
325+
},
326+
"ollama": {
327+
"name": "Ollama",
328+
"apiKeyEnvVar": null
329+
}
330+
}
331+
}

0 commit comments

Comments
 (0)