doc string for _PROXY_failure_handler

This commit is contained in:
Ishaan Jaff 2024-11-27 09:32:57 -08:00
parent 0869a1c13f
commit 5c6d9200c4

View file

@ -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