Allow image_generation.size to be null for OpenAI and default it to that

The API spec for image creation and image editing says "string or null",
so we're allowing `null` now to trigger automatic selection.
This commit is contained in:
Slavi Pantaleev
2025-05-11 23:18:19 +03:00
parent 62f0f4fa0d
commit 264f683d6a
6 changed files with 20 additions and 20 deletions

View File

@@ -93,7 +93,7 @@ agents:
# image_generation:
# model_id: gpt-image-1
# style: null
# size: 1024x1024
# size: null
# quality: null
#
# - id: localai