mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
* fix(bedrock/converse_handler.py): fix bedrock region name on async calls * fix(utils.py): fix split model handling Fixes bedrock cost calculation when region name is given * feat(_health_endpoints.py): support health checking datadog integration Closes https://github.com/BerriAI/litellm/issues/7921
19 lines
431 B
Python
19 lines
431 B
Python
"""
|
|
Base class for health check integrations
|
|
"""
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
from litellm.types.integrations.base_health_check import IntegrationHealthCheckStatus
|
|
|
|
|
|
class HealthCheckIntegration(ABC):
|
|
def __init__(self):
|
|
super().__init__()
|
|
|
|
@abstractmethod
|
|
async def async_health_check(self) -> IntegrationHealthCheckStatus:
|
|
"""
|
|
Check if the service is healthy
|
|
"""
|
|
pass
|