mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
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:
parent
727fd76841
commit
d9d39d545a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue