mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
Use new gemini models
This commit is contained in:
parent
fb092289f2
commit
5069e1a11b
1 changed files with 3 additions and 3 deletions
|
|
@ -316,9 +316,9 @@ 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-latest"
|
||||
export const geminiDefaultModelId: GeminiModelId = "gemini-1.5-flash-002"
|
||||
export const geminiModels = {
|
||||
"gemini-1.5-flash-latest": {
|
||||
"gemini-1.5-flash-002": {
|
||||
maxTokens: 8192,
|
||||
contextWindow: 1_048_576,
|
||||
supportsImages: true,
|
||||
|
|
@ -342,7 +342,7 @@ export const geminiModels = {
|
|||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
},
|
||||
"gemini-1.5-pro-latest": {
|
||||
"gemini-1.5-pro-002": {
|
||||
maxTokens: 8192,
|
||||
contextWindow: 2_097_152,
|
||||
supportsImages: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue