File size: 431 Bytes
e3278e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
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