From c18ff999a532bc86815fc327955898c73f39a8d5 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Wed, 5 Nov 2025 11:28:41 -0500 Subject: [PATCH] Update GoogleVertexLLMService default model to gemini-2.5-flash --- CHANGELOG.md | 2 ++ src/pipecat/services/google/llm_vertex.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5135655dd..65d283417 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,8 @@ reason")`. ### Changed +- Updated the default model for `GoogleVertexLLMService` to `gemini-2.5-flash`. + - Updated the `GoogleVertexLLMService` to use the `GoogleLLMService` as a base class instead of the `OpenAILLMService`. diff --git a/src/pipecat/services/google/llm_vertex.py b/src/pipecat/services/google/llm_vertex.py index b8bcaf0ea..57f50d241 100644 --- a/src/pipecat/services/google/llm_vertex.py +++ b/src/pipecat/services/google/llm_vertex.py @@ -99,7 +99,7 @@ class GoogleVertexLLMService(GoogleLLMService): *, credentials: Optional[str] = None, credentials_path: Optional[str] = None, - model: str = "google/gemini-2.0-flash-001", + model: str = "gemini-2.5-flash", location: Optional[str] = None, project_id: Optional[str] = None, params: Optional[GoogleLLMService.InputParams] = None, @@ -114,7 +114,7 @@ class GoogleVertexLLMService(GoogleLLMService): Args: credentials: JSON string of service account credentials. credentials_path: Path to the service account JSON file. - model: Model identifier (e.g., "google/gemini-2.0-flash-001"). + model: Model identifier (e.g., "gemini-2.5-flash"). location: GCP region for Vertex AI endpoint (e.g., "us-east4"). project_id: Google Cloud project ID. params: Input parameters for the model.