fix: Image Generation and Edits - ensure response_format is not present in extra_body

This commit is contained in:
anil.kumar.peesa 2025-10-09 12:36:37 +05:30
parent a32a6c43c7
commit 89874a66c3

View file

@ -42,6 +42,8 @@ def test_get_optional_params_image_gen():
)
assert optional_params is not None
assert "response_format" not in optional_params
if 'extra_body' in optional_params:
assert "response_format" not in optional_params['extra_body']
assert optional_params["n"] == 3