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 11# Unreleased
22
3+ * [ fixed] Fixed ` FirebaseAI.getInstance ` StackOverflowException (#6971 )
34* [ fixed] Fixed an issue that was causing the SDK to send empty ` FunctionDeclaration ` descriptions to the API.
45
56# 16.0.0
Original file line number Diff line number Diff line change @@ -220,7 +220,9 @@ internal constructor(
220220 }
221221
222222 /* * 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())
224226
225227 private const val GEMINI_MODEL_NAME_PREFIX = " gemini-"
226228
You can’t perform that action at this time.
0 commit comments