Просмотр исходного кода

Added to Vertex AI Provider gemini 2.5 Pro Preview (#2384)

* Added Gemini 2.5 Pro model to Vertex AI Provider

* Adds Gemini 2.5 Pro preview model

Adds configuration for the new Gemini 2.5 Pro preview model,
including its token limits, context window size, image support, and
pricing information.
Nico Bihan 10 месяцев назад
Родитель
Сommit
320ef77d79
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      src/shared/api.ts

+ 8 - 0
src/shared/api.ts

@@ -482,6 +482,14 @@ export const vertexModels = {
 		inputPrice: 0.15,
 		outputPrice: 0.6,
 	},
+	"gemini-2.5-pro-preview-03-25": {
+		maxTokens: 65_535,
+		contextWindow: 1_048_576,
+		supportsImages: true,
+		supportsPromptCache: false,
+		inputPrice: 2.5,
+		outputPrice: 15,
+	},
 	"gemini-2.5-pro-exp-03-25": {
 		maxTokens: 65_535,
 		contextWindow: 1_048_576,