mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(feat) proxy - custom on failure callback
This commit is contained in:
parent
b3f039627e
commit
44bf51601a
3 changed files with 14 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue