mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(utils.py): enable cost tracking for image gen models on proxy
This commit is contained in:
parent
d89afaac7f
commit
d9fdddc301
3 changed files with 43 additions and 42 deletions
|
@ -3067,7 +3067,7 @@ def image_generation(
|
|||
custom_llm_provider=custom_llm_provider,
|
||||
**non_default_params,
|
||||
)
|
||||
logging = litellm_logging_obj
|
||||
logging: Logging = litellm_logging_obj
|
||||
logging.update_environment_variables(
|
||||
model=model,
|
||||
user=user,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue