Skip to content

Commit b2c33db

Browse files
authored
Add imageSize option to generationConfig (#842)
1 parent 48712d7 commit b2c33db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Providers/Gemini/Maps/ImageRequestMap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ protected static function geminiOptions(Request $request): array
5050
'responseModalities' => $providerOptions['response_modalities'] ?? ['TEXT', 'IMAGE'],
5151
'imageConfig' => [
5252
'aspectRatio' => $providerOptions['aspect_ratio'] ?? null,
53+
'imageSize' => $providerOptions['image_size'] ?? null,
5354
],
5455
],
5556
];

0 commit comments

Comments
 (0)