mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-09 09:08:47 +00:00
b6589a72c9
- Added 'size' to supported parameters for vertex_ai in get_optional_params_image_gen - Implemented mapping from OpenAI size format (e.g., '1024x1024') to Vertex AI aspectRatio format (e.g., '1:1') - Supports common aspect ratios: 1:1 (square), 16:9 (landscape), 9:16 (portrait) - Added comprehensive test coverage for the size parameter mapping Fixes LIT-279: Vertex AI Image Generation Aspect Ratio Support