Skip to content

Commit b50cc43

Browse files
committed
add missing koin file
1 parent 0a35df6 commit b50cc43

File tree

1 file changed

+16
-0
lines changed
  • composeApp/src/iosMain/kotlin/dev/johnoreilly/vertexai/di

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package dev.johnoreilly.vertexai.di
2+
3+
import dev.johnoreilly.vertexai.GenerativeModel
4+
import org.koin.core.context.startKoin
5+
import org.koin.dsl.module
6+
7+
8+
fun initialiseKoin(generativeModel: GenerativeModel) {
9+
startKoin {
10+
modules(
11+
commonModule,
12+
module { single<GenerativeModel> { generativeModel } }
13+
)
14+
}
15+
16+
}

0 commit comments

Comments
 (0)