mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
style: apply black formatting to transformation.py
This commit is contained in:
parent
65af176035
commit
73c068f5f7
1 changed files with 5 additions and 1 deletions
|
|
@ -189,7 +189,11 @@ class GoogleImageGenConfig(BaseImageGenerationConfig):
|
|||
for k, v in extra_body.items():
|
||||
if k in {"cache", "tags"}:
|
||||
continue
|
||||
if k in request_body and isinstance(request_body[k], dict) and isinstance(v, dict):
|
||||
if (
|
||||
k in request_body
|
||||
and isinstance(request_body[k], dict)
|
||||
and isinstance(v, dict)
|
||||
):
|
||||
request_body[k].update(v)
|
||||
else:
|
||||
request_body[k] = v
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue