File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/kotlin/com/google/firebase/ai Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ * [ fixed] Fixed ` FirebaseAI.getInstance ` StackOverflowException (#6971 )
3
4
* [ fixed] Fixed an issue that was causing the SDK to send empty ` FunctionDeclaration ` descriptions to the API.
4
5
5
6
# 16.0.0
Original file line number Diff line number Diff line change @@ -220,7 +220,9 @@ internal constructor(
220
220
}
221
221
222
222
/* * The [FirebaseAI] instance for the provided [FirebaseApp] using the Google AI Backend. */
223
- @JvmStatic public fun getInstance (app : FirebaseApp ): FirebaseAI = getInstance(app)
223
+ @JvmStatic
224
+ public fun getInstance (app : FirebaseApp ): FirebaseAI =
225
+ getInstance(app, GenerativeBackend .googleAI())
224
226
225
227
private const val GEMINI_MODEL_NAME_PREFIX = " gemini-"
226
228
You can’t perform that action at this time.
0 commit comments