Skip to content

Commit c8cedbe

Browse files
committed
fix img gen cost
1 parent b71021f commit c8cedbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

litellm/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4434,6 +4434,8 @@ def image_generation( # noqa: PLR0915
44344434
},
44354435
custom_llm_provider=custom_llm_provider,
44364436
)
4437+
if "custom_llm_provider" not in logging.model_call_details:
4438+
logging.model_call_details["custom_llm_provider"] = custom_llm_provider
44374439
if mock_response is not None:
44384440
return mock_image_generation(model=model, mock_response=mock_response)
44394441

0 commit comments

Comments
 (0)