mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
(fix) when kwargs==None
This commit is contained in:
parent
d14d36af9a
commit
b0e18e92b6
1 changed files with 2 additions and 0 deletions
|
@ -8429,6 +8429,8 @@ def get_logging_payload(kwargs, response_obj, start_time, end_time):
|
|||
from litellm.proxy._types import LiteLLM_SpendLogs
|
||||
from pydantic import Json
|
||||
|
||||
if kwargs == None:
|
||||
kwargs = {}
|
||||
# standardize this function to be used across, s3, dynamoDB, langfuse logging
|
||||
litellm_params = kwargs.get("litellm_params", {})
|
||||
metadata = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue