Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/large-jars-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"kilo-code": patch
---

chore: update Gemini Cli models and metadata

- Added gemini-3-flash-preview model configuration.
- Updated maxThinkingTokens for gemini-3-pro-preview to 32,768.
- Reordered model definitions to prioritize newer versions.
18 changes: 14 additions & 4 deletions packages/types/src/providers/gemini-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,25 @@ export type GeminiCliModelId = keyof typeof geminiCliModels
export const geminiCliDefaultModelId: GeminiCliModelId = "gemini-2.5-flash"

export const geminiCliModels = {
"gemini-2.5-flash": {
"gemini-3-pro-preview": {
maxTokens: 64_000,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
supportsReasoningBudget: true,
maxThinkingTokens: 32_768,
},
"gemini-3-flash-preview": {
maxTokens: 64_000,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
maxThinkingTokens: 24_576,
supportsReasoningBudget: true,
maxThinkingTokens: 32_768,
},
"gemini-2.5-pro": {
maxTokens: 64_000,
Expand All @@ -28,14 +38,14 @@ export const geminiCliModels = {
supportsReasoningBudget: true,
requiredReasoningBudget: true,
},
"gemini-3-pro-preview": {
"gemini-2.5-flash": {
maxTokens: 64_000,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
maxThinkingTokens: 24_576,
supportsReasoningBudget: true,
maxThinkingTokens: 64_000,
},
} as const satisfies Record<string, ModelInfo>