Update litellm/llms/black_forest_labs/image_edit/transformation.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Cesar Garcia 2026-03-04 18:11:50 -03:00 committed by GitHub
parent 727fd76841
commit d9d39d545a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,7 +222,7 @@ class BlackForestLabsImageEditConfig(BaseImageEditConfig):
# Add optional params
for key, value in image_edit_optional_request_params.items():
if key not in ["extra_headers", "extra_body"] and value is not None:
if key not in ["extra_headers", "extra_body", "mask"] and value is not None:
request_body[key] = value
# Handle mask if provided (for inpainting)