mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
v0 add helper for loging success/fail fallback events
This commit is contained in:
parent
51ce8ba301
commit
dc0559226a
1 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,13 @@ class CustomLogger: # https://docs.litellm.ai/docs/observability/custom_callbac
|
|||
def pre_call_check(self, deployment: dict) -> Optional[dict]:
|
||||
pass
|
||||
|
||||
#### Fallback Events - router/proxy only ####
|
||||
async def log_success_fallback_event(self, original_model_group: str, kwargs: dict):
|
||||
pass
|
||||
|
||||
async def log_failure_fallback_event(self, original_model_group: str, kwargs: dict):
|
||||
pass
|
||||
|
||||
#### ADAPTERS #### Allow calling 100+ LLMs in custom format - https://github.com/BerriAI/litellm/pulls
|
||||
|
||||
def translate_completion_input_params(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue