mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
ui - show all alert types when getting all callbacks
This commit is contained in:
parent
48e53984c0
commit
554c83fdaf
2 changed files with 13 additions and 1 deletions
|
@ -81,6 +81,17 @@ class ProxyLogging:
|
|||
"db_exceptions",
|
||||
]
|
||||
|
||||
def _all_possible_alert_types(self):
|
||||
# used by the UI to show all supported alert types
|
||||
# Note: This is not the alerts the user has configured, instead it's all possible alert types a user can select
|
||||
return [
|
||||
"llm_exceptions",
|
||||
"llm_too_slow",
|
||||
"llm_requests_hanging",
|
||||
"budget_alerts",
|
||||
"db_exceptions",
|
||||
]
|
||||
|
||||
def update_values(
|
||||
self,
|
||||
alerting: Optional[List],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue