From 05a818b580c1fbd88df41529c812c2431cca478d Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 10 Dec 2024 16:01:29 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=94=84=20update=20Google=20Gemini?= =?UTF-8?q?=20model=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/constants.ts | 6 +++--- packages/core/src/types/prompt_template.d.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/src/constants.ts b/packages/core/src/constants.ts index 8112e9bea..29fc47567 100644 --- a/packages/core/src/constants.ts +++ b/packages/core/src/constants.ts @@ -60,7 +60,7 @@ export const DEFAULT_MODEL_CANDIDATES = [ "azure:gpt-4o", "azure_serverless:gpt-4o", DEFAULT_MODEL, - "google:gemini-1.5-pro-002", + "google:gemini-1.5-pro-latest", "anthropic:claude-2.1", "mistral:mistral-large-latest", "github:gpt-4o", @@ -71,7 +71,7 @@ export const DEFAULT_VISION_MODEL_CANDIDATES = [ "azure:gpt-4o", "azure_serverless:gpt-4o", DEFAULT_MODEL, - "google:gemini-1.5-pro-002", + "google:gemini-1.5-flash-latest", "anthropic:claude-2.1", "github:gpt-4o", ] @@ -80,7 +80,7 @@ export const DEFAULT_SMALL_MODEL_CANDIDATES = [ "azure:gpt-4o-mini", "azure_serverless:gpt-4o-mini", DEFAULT_SMALL_MODEL, - "google:gemini-1.5-flash-002", + "google:gemini-1.5-flash-latest", "anthropic:claude-instant-1.2", "mistral:mistral-small-latest", "github:gpt-4o-mini", diff --git a/packages/core/src/types/prompt_template.d.ts b/packages/core/src/types/prompt_template.d.ts index 243740cfa..20ced2672 100644 --- a/packages/core/src/types/prompt_template.d.ts +++ b/packages/core/src/types/prompt_template.d.ts @@ -151,11 +151,11 @@ type ModelType = OptionsOrString< | "anthropic:claude-instant-1.2" | "huggingface:microsoft/Phi-3-mini-4k-instruct" | "google:gemini-1.5-flash" + | "google:gemini-1.5-flash-latest" | "google:gemini-1.5-flash-8b" - | "google:gemini-1.5-flash-002" + | "google:gemini-1.5-flash-8b-latest" | "google:gemini-1.5-pro" - | "google:gemini-1.5-pro-002" - | "google:gemini-1-pro" + | "google:gemini-1.5-pro-latest" | "mistral:mistral-large-latest" | "mistral:mistral-small-latest" | "mistral:pixtral-large-latest"