We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c00477 commit 82ad185Copy full SHA for 82ad185
firebase-ai/CHANGELOG.md
@@ -1,5 +1,6 @@
1
# Unreleased
2
3
+* [fixed] Fixed `FirebaseAI.getInstance` StackOverflowException (#6971)
4
* [fixed] Fixed an issue that was causing the SDK to send empty `FunctionDeclaration` descriptions to the API.
5
6
# 16.0.0
firebase-ai/src/main/kotlin/com/google/firebase/ai/FirebaseAI.kt
@@ -220,7 +220,9 @@ internal constructor(
220
}
221
222
/** The [FirebaseAI] instance for the provided [FirebaseApp] using the Google AI Backend. */
223
- @JvmStatic public fun getInstance(app: FirebaseApp): FirebaseAI = getInstance(app)
+ @JvmStatic
224
+ public fun getInstance(app: FirebaseApp): FirebaseAI =
225
+ getInstance(app, GenerativeBackend.googleAI())
226
227
private const val GEMINI_MODEL_NAME_PREFIX = "gemini-"
228
0 commit comments