Coverage for mindsdb / integrations / handlers / litellm_handler / __init__.py: 80%

15 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-21 00:36 +0000

1from mindsdb.integrations.libs.const import HANDLER_TYPE 

2 

3from .__about__ import __description__ as description 

4from .__about__ import __version__ as version 

5 

6try: 

7 from .litellm_handler import LiteLLMHandler as Handler 

8 

9 import_error = None 

10except Exception as e: 

11 Handler = None 

12 import_error = e 

13 

14title = "LiteLLM" 

15name = "litellm" 

16type = HANDLER_TYPE.ML 

17icon_path = "icon.png" 

18permanent = False 

19 

20 

21__all__ = [ 

22 "Handler", 

23 "version", 

24 "name", 

25 "type", 

26 "title", 

27 "description", 

28 "import_error", 

29 "icon_path", 

30]