File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
firebase-ai/src/main/kotlin/com/google/firebase/ai Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ internal constructor(
5555 private val tools: List <Tool >? = null ,
5656 private val systemInstruction: Content ? = null ,
5757 private val location: String ,
58- private val controller: APIController ,
58+ private val firebaseApp: FirebaseApp ,
59+ private val controller: APIController
5960) {
6061 internal constructor (
6162 modelName: String ,
@@ -78,6 +79,7 @@ internal constructor(
7879 tools,
7980 systemInstruction,
8081 location,
82+ firebaseApp,
8183 APIController (
8284 apiKey,
8385 modelName,
@@ -122,7 +124,7 @@ internal constructor(
122124 LiveSession (
123125 session = webSession,
124126 blockingDispatcher = blockingDispatcher,
125- firebaseApp = controller. firebaseApp
127+ firebaseApp = firebaseApp
126128 )
127129 } else {
128130 webSession.close()
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ internal constructor(
9797 private val requestOptions: RequestOptions ,
9898 httpEngine: HttpClientEngine ,
9999 private val apiClient: String ,
100- internal val firebaseApp: FirebaseApp ,
100+ private val firebaseApp: FirebaseApp ,
101101 private val appVersion: Int = 0 ,
102102 private val googleAppId: String ,
103103 private val headerProvider: HeaderProvider ? ,
You can’t perform that action at this time.
0 commit comments