Coverage for src / tracekit / integrations / __init__.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 23:04 +0000

1"""TraceKit Integrations. 

2 

3Third-party and external system integrations. 

4""" 

5 

6from tracekit.integrations.llm import ( 

7 AnalysisHook, 

8 CostTracker, 

9 FailoverLLMClient, 

10 LLMConfig, 

11 LLMError, 

12 LLMIntegration, 

13 LLMProvider, 

14 LLMResponse, 

15 ResponseCache, 

16 analyze, 

17 configure, 

18 estimate_tokens, 

19 explain, 

20 get_client, 

21 get_client_auto, 

22 get_client_with_failover, 

23 get_cost_tracker, 

24 get_llm, 

25 get_provider, 

26 get_response_cache, 

27 is_provider_available, 

28 list_available_providers, 

29) 

30 

31__all__ = [ 

32 # Core classes 

33 "AnalysisHook", 

34 "CostTracker", 

35 "FailoverLLMClient", 

36 "LLMConfig", 

37 "LLMError", 

38 "LLMIntegration", 

39 "LLMProvider", 

40 "LLMResponse", 

41 "ResponseCache", 

42 # High-level functions 

43 "analyze", 

44 "configure", 

45 # Cost and caching utilities (API-020) 

46 "estimate_tokens", 

47 "explain", 

48 # Client factory functions (API-020) 

49 "get_client", 

50 "get_client_auto", 

51 "get_client_with_failover", 

52 "get_cost_tracker", 

53 "get_llm", 

54 "get_provider", 

55 "get_response_cache", 

56 # Provider discovery (API-020) 

57 "is_provider_available", 

58 "list_available_providers", 

59]