Skip to content

Commit c927b0b

Browse files
committed
feat(gemini-client): update GEMINI_2_0_FLASH_LITE and GEMINI_2_0_FLASH
1 parent d2c9ce3 commit c927b0b

File tree

1 file changed

+16
-8
lines changed
  • gemini-client/gemini-client-core/src/commonMain/kotlin/com/tddworks/gemini/api/textGeneration/api

1 file changed

+16
-8
lines changed

gemini-client/gemini-client-core/src/commonMain/kotlin/com/tddworks/gemini/api/textGeneration/api/GeminiModel.kt

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@ import kotlin.jvm.JvmInline
1111
value class GeminiModel(val value: String) {
1212
companion object {
1313

14+
/**
15+
* Input(s): Audio, images, videos, and text
16+
* Output(s): Text, images (coming soon), and audio (coming soon)
17+
* Optimized for: Next generation features, speed, and multimodal generation for a diverse variety of tasks
18+
*/
19+
val GEMINI_2_0_FLASH = GeminiModel("gemini-2.0-flash")
20+
21+
/**
22+
* Audio, images, videos, and text
23+
* Output(s): Text
24+
* A Gemini 2.0 Flash model optimized for cost efficiency and low latency
25+
*/
26+
val GEMINI_2_0_FLASH_LITE = GeminiModel("gemini-2.0-flash-lite-preview-02-05")
27+
1428
/**
1529
* Input(s): Audio, images, videos, and text
1630
* Output(s): Text
@@ -32,18 +46,12 @@ value class GeminiModel(val value: String) {
3246
*/
3347
val GEMINI_1_5_FLASH = GeminiModel("gemini-1.5-flash")
3448

35-
/**
36-
* Input(s): Audio, images, videos, and text
37-
* Output(s): Text, images (coming soon), and audio (coming soon)
38-
* Optimized for: Next generation features, speed, and multimodal generation for a diverse variety of tasks
39-
*/
40-
val GEMINI_2_0_FLASH = GeminiModel("gemini-2.0-flash-exp")
41-
4249
val availableModels = listOf(
4350
GEMINI_1_5_PRO,
4451
GEMINI_1_5_FLASH_8b,
4552
GEMINI_1_5_FLASH,
46-
GEMINI_2_0_FLASH
53+
GEMINI_2_0_FLASH,
54+
GEMINI_2_0_FLASH_LITE
4755
)
4856
}
4957
}

0 commit comments

Comments
 (0)