mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix(litellm_pre_call_utils.py): fix return statement
This commit is contained in:
parent
85c4dd1283
commit
171b6b13b2
1 changed files with 2 additions and 0 deletions
|
|
@ -623,6 +623,8 @@ class LiteLLMProxyRequestSetup:
|
|||
|
||||
ignore any sensitive fields like logging, api_key, etc.
|
||||
"""
|
||||
if _metadata_variable_name not in data:
|
||||
return data
|
||||
from litellm.proxy._types import (
|
||||
LiteLLM_ManagementEndpoint_MetadataFields,
|
||||
LiteLLM_ManagementEndpoint_MetadataFields_Premium,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue