mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-19 22:23:58 +00:00
(fix) when kwargs==None
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user