forked from phoenix/litellm-mirror
doc string for _PROXY_failure_handler
This commit is contained in:
parent
0869a1c13f
commit
5c6d9200c4
1 changed files with 7 additions and 1 deletions
|
@ -18,8 +18,14 @@ async def _PROXY_failure_handler(
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Async Failure Handler - runs when LLM Exceptions occur on LiteLLM Proxy.
|
Async Failure Handler - runs when LLM Exceptions occur on LiteLLM Proxy.
|
||||||
|
|
||||||
This function logs the errors to the Prisma DB
|
This function logs the errors to the Prisma DB
|
||||||
|
|
||||||
|
Can be disabled by setting the following on proxy_config.yaml:
|
||||||
|
```yaml
|
||||||
|
general_settings:
|
||||||
|
disable_error_logs: True
|
||||||
|
```
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from litellm._logging import verbose_proxy_logger
|
from litellm._logging import verbose_proxy_logger
|
||||||
from litellm.proxy.proxy_server import general_settings, prisma_client
|
from litellm.proxy.proxy_server import general_settings, prisma_client
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue