(feat) proxy - custom on failure callback

This commit is contained in:
ishaan-jaff 2023-12-06 14:43:45 -08:00
parent b3f039627e
commit 44bf51601a
3 changed files with 14 additions and 2 deletions

View file

@ -88,7 +88,6 @@ async def async_on_succes_logger(kwargs, response_obj, start_time, end_time):
async def async_on_fail_logger(kwargs, response_obj, start_time, end_time):
print(f"On Async Failure!")
print(kwargs)
# Access kwargs passed to litellm.completion()
model = kwargs.get("model", None)