diff --git a/.changeset/violet-paws-own.md b/.changeset/violet-paws-own.md new file mode 100644 index 0000000000..3b9006d6ef --- /dev/null +++ b/.changeset/violet-paws-own.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Add gemini-2.0-flash-lite-preview-02-05 and gemini-2.0-pro-exp-02-05 diff --git a/src/shared/api.ts b/src/shared/api.ts index 451c365a07..f75123f8ae 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -431,6 +431,22 @@ export const openAiModelInfoSaneDefaults: ModelInfo = { export type GeminiModelId = keyof typeof geminiModels export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-thinking-exp-01-21" export const geminiModels = { + "gemini-2.0-flash-lite-preview-02-05": { + maxTokens: 8192, + contextWindow: 1_048_576, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 0, + outputPrice: 0, + }, + "gemini-2.0-pro-exp-02-05": { + maxTokens: 8192, + contextWindow: 2_097_152, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 0, + outputPrice: 0, + }, "gemini-2.0-flash-thinking-exp-01-21": { maxTokens: 65_536, contextWindow: 1_048_576,