mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix(utils): fix syntax error in get_litellm_metadata_from_kwargs fix
- Move getattr call before cast statement to fix syntax error
This commit is contained in:
parent
884e150e82
commit
335021f24f
1 changed files with 1 additions and 1 deletions
|
|
@ -8452,8 +8452,8 @@ def get_end_user_id_for_cost_tracking(
|
|||
|
||||
service_type: "litellm_logging" or "prometheus" - used to allow prometheus only disable cost tracking.
|
||||
"""
|
||||
get_litellm_metadata_from_kwargs = getattr(sys.modules[__name__], 'get_litellm_metadata_from_kwargs')
|
||||
_metadata = cast(
|
||||
get_litellm_metadata_from_kwargs = getattr(sys.modules[__name__], 'get_litellm_metadata_from_kwargs')
|
||||
dict, get_litellm_metadata_from_kwargs(dict(litellm_params=litellm_params))
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue