diff --git a/.changeset/many-grapes-kick.md b/.changeset/many-grapes-kick.md new file mode 100644 index 00000000000..a2606a3fb17 --- /dev/null +++ b/.changeset/many-grapes-kick.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Added support for Gemini 3 Pro Preview to Gemini CLI provider and removed deprecated models diff --git a/packages/types/src/providers/gemini-cli.ts b/packages/types/src/providers/gemini-cli.ts index 58f488a09c2..6ec6ccc07c5 100644 --- a/packages/types/src/providers/gemini-cli.ts +++ b/packages/types/src/providers/gemini-cli.ts @@ -4,108 +4,38 @@ import type { ModelInfo } from "../model.js" // Gemini CLI models with free tier pricing (all $0) export type GeminiCliModelId = keyof typeof geminiCliModels -export const geminiCliDefaultModelId: GeminiCliModelId = "gemini-2.0-flash-001" +export const geminiCliDefaultModelId: GeminiCliModelId = "gemini-2.5-flash" export const geminiCliModels = { - "gemini-2.0-flash-001": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-2.0-flash-thinking-exp-01-21": { - maxTokens: 65_536, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-2.0-flash-thinking-exp-1219": { - maxTokens: 8192, - contextWindow: 32_767, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-2.0-flash-exp": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-flash-002": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-flash-exp-0827": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-flash-8b-exp-0827": { - maxTokens: 8192, + "gemini-2.5-flash": { + maxTokens: 64_000, contextWindow: 1_048_576, supportsImages: true, supportsPromptCache: false, inputPrice: 0, outputPrice: 0, + maxThinkingTokens: 24_576, + supportsReasoningBudget: true, }, - "gemini-1.5-pro-002": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-pro-exp-0827": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-exp-1206": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-2.5-flash": { + "gemini-2.5-pro": { maxTokens: 64_000, contextWindow: 1_048_576, supportsImages: true, supportsPromptCache: false, inputPrice: 0, outputPrice: 0, - maxThinkingTokens: 24_576, + maxThinkingTokens: 32_768, supportsReasoningBudget: true, + requiredReasoningBudget: true, }, - "gemini-2.5-pro": { + "gemini-3-pro-preview": { maxTokens: 64_000, contextWindow: 1_048_576, supportsImages: true, supportsPromptCache: false, inputPrice: 0, outputPrice: 0, - maxThinkingTokens: 32_768, supportsReasoningBudget: true, - requiredReasoningBudget: true, + maxThinkingTokens: 64_000, }, } as const satisfies Record