From f28f76b2d13c5e82976c0d4c3def76b6893272fc Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Thu, 12 Feb 2026 17:08:42 +0000 Subject: [PATCH 1/2] chore(genai): Update gimini model to gimini-live-2.5-flash-native-audio --- genai/live/live-transcribe-with-audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genai/live/live-transcribe-with-audio.js b/genai/live/live-transcribe-with-audio.js index dcc23c1f0c..e93806a546 100644 --- a/genai/live/live-transcribe-with-audio.js +++ b/genai/live/live-transcribe-with-audio.js @@ -31,7 +31,7 @@ async function generateLiveAudioTranscription( location: location, }); - const modelId = 'gemini-live-2.5-flash-preview-native-audio'; + const modelId = 'gemini-live-2.5-flash-native-audio'; const config = { responseModalities: [Modality.AUDIO], inputAudioTranscription: {}, From 29016ad802cac8e49c914f6b205f1f47b3cfc534 Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Tue, 17 Feb 2026 23:45:22 +0000 Subject: [PATCH 2/2] fix: remove global location to comply with model constraints --- genai/live/live-transcribe-with-audio.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/genai/live/live-transcribe-with-audio.js b/genai/live/live-transcribe-with-audio.js index e93806a546..95bee4241c 100644 --- a/genai/live/live-transcribe-with-audio.js +++ b/genai/live/live-transcribe-with-audio.js @@ -19,7 +19,8 @@ const {GoogleGenAI, Modality} = require('@google/genai'); const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_PROJECT; -const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION || 'global'; +const GOOGLE_CLOUD_LOCATION = + process.env.GOOGLE_CLOUD_LOCATION || 'us-central1'; async function generateLiveAudioTranscription( projectId = GOOGLE_CLOUD_PROJECT,