Skip to content

Commit 3638799

Browse files
Update live model version (#145)
1 parent e30b894 commit 3638799

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/gemini-live-todo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Here is the key snippet of code that initializes the model and connects to a liv
1818

1919
```kotlin
2020
val generativeModel = Firebase.ai(backend = GenerativeBackend.vertexAI()).liveModel(
21-
"gemini-2.0-flash-live-preview-04-09",
21+
"gemini-2.5-flash-native-audio-preview-12-2025",
2222
generationConfig = liveGenerationConfig,
2323
systemInstruction = systemInstruction,
2424
tools = listOf(

samples/gemini-live-todo/src/main/java/com/android/ai/samples/geminilivetodo/ui/TodoScreenViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class TodoScreenViewModel @Inject constructor(private val todoRepository: TodoRe
161161

162162
// See https://firebase.google.com/docs/ai-logic/live-api for an overview of available models
163163
val generativeModel = Firebase.ai(backend = GenerativeBackend.googleAI()).liveModel(
164-
"gemini-2.5-flash-native-audio-preview-09-2025",
164+
"gemini-2.5-flash-native-audio-preview-12-2025",
165165
generationConfig = liveGenerationConfig,
166166
systemInstruction = systemInstruction,
167167
tools = listOf(

0 commit comments

Comments
 (0)