mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Add gemini-2.0-flash-exp
This commit is contained in:
parent
37d940b137
commit
59bcb74322
1 changed files with 9 additions and 1 deletions
|
|
@ -235,8 +235,16 @@ export const openAiModelInfoSaneDefaults: ModelInfo = {
|
|||
// Gemini
|
||||
// https://ai.google.dev/gemini-api/docs/models/gemini
|
||||
export type GeminiModelId = keyof typeof geminiModels
|
||||
export const geminiDefaultModelId: GeminiModelId = "gemini-1.5-flash-002"
|
||||
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-exp"
|
||||
export const geminiModels = {
|
||||
"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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue