From 3cae4d325b0e29d82c7016241c31a4370942f5ef Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Thu, 12 Feb 2026 16:56:54 +0000 Subject: [PATCH 1/5] chore(genai): Update gimini model to gimini-live-2.5-flash-native-audio --- genai/live/live-audio-with-txt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genai/live/live-audio-with-txt.js b/genai/live/live-audio-with-txt.js index e6c257862d..170fad4e95 100644 --- a/genai/live/live-audio-with-txt.js +++ b/genai/live/live-audio-with-txt.js @@ -33,7 +33,7 @@ async function generateLiveConversation( }); const voiceName = 'Aoede'; - const modelId = 'gemini-2.0-flash-live-preview-04-09'; + const modelId = 'gemini-live-2.5-flash-native-audio'; const config = { responseModalities: [Modality.AUDIO], speechConfig: { From 6f3a96f7a8f043e18d2d3dbb735fb42c378661be Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Thu, 12 Feb 2026 19:20:11 +0000 Subject: [PATCH 2/5] revert changes to test CI test --- genai/live/live-audio-with-txt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genai/live/live-audio-with-txt.js b/genai/live/live-audio-with-txt.js index 170fad4e95..e6c257862d 100644 --- a/genai/live/live-audio-with-txt.js +++ b/genai/live/live-audio-with-txt.js @@ -33,7 +33,7 @@ async function generateLiveConversation( }); const voiceName = 'Aoede'; - const modelId = 'gemini-live-2.5-flash-native-audio'; + const modelId = 'gemini-2.0-flash-live-preview-04-09'; const config = { responseModalities: [Modality.AUDIO], speechConfig: { From fb9019f75b09ca4bbbfae504965e6d5476179875 Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Thu, 12 Feb 2026 19:34:45 +0000 Subject: [PATCH 3/5] update to gemini-live-2.5-flash-native-audio --- genai/live/live-audio-with-txt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genai/live/live-audio-with-txt.js b/genai/live/live-audio-with-txt.js index e6c257862d..170fad4e95 100644 --- a/genai/live/live-audio-with-txt.js +++ b/genai/live/live-audio-with-txt.js @@ -33,7 +33,7 @@ async function generateLiveConversation( }); const voiceName = 'Aoede'; - const modelId = 'gemini-2.0-flash-live-preview-04-09'; + const modelId = 'gemini-live-2.5-flash-native-audio'; const config = { responseModalities: [Modality.AUDIO], speechConfig: { From 997ff2d7adbf064efb24661e9e395b6e73bc0cf7 Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Tue, 17 Feb 2026 22:57:01 +0000 Subject: [PATCH 4/5] fix: remove global location to comply with model constraints --- genai/live/live-audio-with-txt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genai/live/live-audio-with-txt.js b/genai/live/live-audio-with-txt.js index 170fad4e95..57a2233ee4 100644 --- a/genai/live/live-audio-with-txt.js +++ b/genai/live/live-audio-with-txt.js @@ -20,7 +20,7 @@ const {GoogleGenAI, Modality} = require('@google/genai'); const fs = require('fs'); 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 generateLiveConversation( projectId = GOOGLE_CLOUD_PROJECT, From ee81bd7749333442a1b41b0539cd63e3959e6797 Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Tue, 17 Feb 2026 23:42:08 +0000 Subject: [PATCH 5/5] chore: formatting in live-audio --- genai/live/live-audio-with-txt.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/genai/live/live-audio-with-txt.js b/genai/live/live-audio-with-txt.js index 57a2233ee4..760fcfe40d 100644 --- a/genai/live/live-audio-with-txt.js +++ b/genai/live/live-audio-with-txt.js @@ -20,7 +20,8 @@ const {GoogleGenAI, Modality} = require('@google/genai'); const fs = require('fs'); const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_PROJECT; -const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION || 'us-central1'; +const GOOGLE_CLOUD_LOCATION = + process.env.GOOGLE_CLOUD_LOCATION || 'us-central1'; async function generateLiveConversation( projectId = GOOGLE_CLOUD_PROJECT,