Skip to content

Commit c530c9d

Browse files
fix: adjust gemini model order
1 parent c0733e6 commit c530c9d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/shared/api.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,24 +243,24 @@ export const openAiModelInfoSaneDefaults: ModelInfo = {
243243
export type GeminiModelId = keyof typeof geminiModels
244244
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-thinking-exp-1219"
245245
export const geminiModels = {
246-
"gemini-2.0-flash-thinking-exp-1219": {
247-
maxTokens: 8192,
248-
contextWindow: 32_767,
246+
"gemini-2.0-flash-thinking-exp-0121": {
247+
maxTokens: 65536,
248+
contextWindow: 1_048_576,
249249
supportsImages: true,
250250
supportsPromptCache: false,
251251
inputPrice: 0,
252252
outputPrice: 0,
253253
},
254-
"gemini-2.0-flash-exp": {
254+
"gemini-2.0-flash-thinking-exp-1219": {
255255
maxTokens: 8192,
256-
contextWindow: 1_048_576,
256+
contextWindow: 32_767,
257257
supportsImages: true,
258258
supportsPromptCache: false,
259259
inputPrice: 0,
260260
outputPrice: 0,
261261
},
262-
"gemini-2.0-flash-thinking-exp-0121": {
263-
maxTokens: 65536,
262+
"gemini-2.0-flash-exp": {
263+
maxTokens: 8192,
264264
contextWindow: 1_048_576,
265265
supportsImages: true,
266266
supportsPromptCache: false,

0 commit comments

Comments
 (0)