We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb61db1 commit 60d162fCopy full SHA for 60d162f
1 file changed
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/text/ChatViewModel.kt
@@ -72,10 +72,9 @@ class ChatViewModel(
72
73
init {
74
val generativeModel = Firebase.ai(
75
- backend = GenerativeBackend.vertexAI("global") // GenerativeBackend.googleAI() by default
+ backend = sample.backend // GenerativeBackend.googleAI() by default
76
).generativeModel(
77
-// modelName = sample.modelName ?: "gemini-3-pro-preview-testing-only",
78
- modelName = sample.modelName ?: "gemini-2.5-pro",
+ modelName = sample.modelName ?: "gemini-2.5-flash",
79
systemInstruction = sample.systemInstructions,
80
generationConfig = sample.generationConfig,
81
tools = sample.tools
0 commit comments