(test) setting model in SpendTable logs

This commit is contained in:
ishaan-jaff 2024-01-24 11:09:20 -08:00
parent 5e8a6fd80e
commit a842e6520c
2 changed files with 6 additions and 0 deletions

View file

@ -892,6 +892,10 @@ def get_logging_payload(kwargs, response_obj, start_time, end_time):
from pydantic import Json
import uuid
verbose_proxy_logger.debug(
f"SpendTable: get_logging_payload - kwargs: {kwargs}\n\n"
)
if kwargs == None:
kwargs = {}
# standardize this function to be used across, s3, dynamoDB, langfuse logging