File tree Expand file tree Collapse file tree
src/main/java/com/android/ai/samples/geminilivetodo/ui Expand file tree Collapse file tree Original file line number Diff line number Diff 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
2020val 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 (
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments