Coverage for .venv/lib/python3.13/site-packages/litellm/proxy/hooks/litellm_skills/__init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-10 12:01 +0000

1""" 

2LiteLLM Skills Hook - Proxy integration for skills 

3 

4This module provides the CustomLogger hook for skills processing. 

5The actual skill logic is in litellm/llms/litellm_proxy/skills/. 

6 

7Usage: 

8 from litellm.proxy.hooks.litellm_skills import SkillsInjectionHook 

9 

10 # Register hook in proxy 

11 litellm.callbacks.append(SkillsInjectionHook()) 

12""" 

13 

14# Re-export from the SDK location for convenience 

15from litellm.llms.litellm_proxy.skills import ( 

16 LITELLM_CODE_EXECUTION_TOOL, 

17 CodeExecutionHandler, 

18 LiteLLMInternalTools, 

19 SkillPromptInjectionHandler, 

20 SkillsSandboxExecutor, 

21 code_execution_handler, 

22 get_litellm_code_execution_tool, 

23) 

24from litellm.proxy.hooks.litellm_skills.main import SkillsInjectionHook 

25 

26__all__ = [ 

27 "LITELLM_CODE_EXECUTION_TOOL", 

28 "CodeExecutionHandler", 

29 "LiteLLMInternalTools", 

30 "SkillPromptInjectionHandler", 

31 "SkillsInjectionHook", 

32 "SkillsSandboxExecutor", 

33 "code_execution_handler", 

34 "get_litellm_code_execution_tool", 

35]