Skip to content

Commit 2803585

Browse files
Annhiluccopybara-github
authored andcommitted
feat: Add gemini-3.1-flash-lite to model options
PiperOrigin-RevId: 913962872
1 parent c94e371 commit 2803585

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

  • src/main/java/com/google/genai/interactions/models/interactions

src/main/java/com/google/genai/interactions/models/interactions/Model.kt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ class Model @JsonCreator private constructor(private val value: JsonField<String
128128
*/
129129
@JvmField val GEMINI_3_1_FLASH_IMAGE_PREVIEW = of("gemini-3.1-flash-image-preview")
130130

131+
/**
132+
* Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and
133+
* simple data processing.
134+
*/
135+
@JvmField val GEMINI_3_1_FLASH_LITE = of("gemini-3.1-flash-lite")
136+
131137
/**
132138
* Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and
133139
* simple data processing.
@@ -226,6 +232,11 @@ class Model @JsonCreator private constructor(private val value: JsonField<String
226232
* capabilities.
227233
*/
228234
GEMINI_3_1_FLASH_IMAGE_PREVIEW,
235+
/**
236+
* Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and
237+
* simple data processing.
238+
*/
239+
GEMINI_3_1_FLASH_LITE,
229240
/**
230241
* Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and
231242
* simple data processing.
@@ -327,6 +338,11 @@ class Model @JsonCreator private constructor(private val value: JsonField<String
327338
* capabilities.
328339
*/
329340
GEMINI_3_1_FLASH_IMAGE_PREVIEW,
341+
/**
342+
* Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and
343+
* simple data processing.
344+
*/
345+
GEMINI_3_1_FLASH_LITE,
330346
/**
331347
* Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and
332348
* simple data processing.
@@ -376,6 +392,7 @@ class Model @JsonCreator private constructor(private val value: JsonField<String
376392
GEMINI_3_PRO_PREVIEW -> Value.GEMINI_3_PRO_PREVIEW
377393
GEMINI_3_1_PRO_PREVIEW -> Value.GEMINI_3_1_PRO_PREVIEW
378394
GEMINI_3_1_FLASH_IMAGE_PREVIEW -> Value.GEMINI_3_1_FLASH_IMAGE_PREVIEW
395+
GEMINI_3_1_FLASH_LITE -> Value.GEMINI_3_1_FLASH_LITE
379396
GEMINI_3_1_FLASH_LITE_PREVIEW -> Value.GEMINI_3_1_FLASH_LITE_PREVIEW
380397
GEMINI_3_1_FLASH_TTS_PREVIEW -> Value.GEMINI_3_1_FLASH_TTS_PREVIEW
381398
LYRIA_3_CLIP_PREVIEW -> Value.LYRIA_3_CLIP_PREVIEW
@@ -410,6 +427,7 @@ class Model @JsonCreator private constructor(private val value: JsonField<String
410427
GEMINI_3_PRO_PREVIEW -> Known.GEMINI_3_PRO_PREVIEW
411428
GEMINI_3_1_PRO_PREVIEW -> Known.GEMINI_3_1_PRO_PREVIEW
412429
GEMINI_3_1_FLASH_IMAGE_PREVIEW -> Known.GEMINI_3_1_FLASH_IMAGE_PREVIEW
430+
GEMINI_3_1_FLASH_LITE -> Known.GEMINI_3_1_FLASH_LITE
413431
GEMINI_3_1_FLASH_LITE_PREVIEW -> Known.GEMINI_3_1_FLASH_LITE_PREVIEW
414432
GEMINI_3_1_FLASH_TTS_PREVIEW -> Known.GEMINI_3_1_FLASH_TTS_PREVIEW
415433
LYRIA_3_CLIP_PREVIEW -> Known.LYRIA_3_CLIP_PREVIEW

0 commit comments

Comments
 (0)