mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(utils.py): enable cost tracking for image gen models on proxy
This commit is contained in:
parent
511510a1cc
commit
a299ac2328
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