1"""

2 Nexus AgentOS LLM 模块。

3 提供统一的 LLM Provider 抽象，支持 OpenAI / DeepSeek / Anthropic 等。

4 v1.3.36: +DeepSeekProvider +AnthropicProvider +Function Calling。

5"""

6

7 from agentos.llm.base import (

8 CompletionChoice,

9 CompletionResult,

10 CompletionUsage,

11 LLMProvider,

12 Message,

13 MessageRole,

14 StreamChunk,

15 TokenUsage,

16 Tool,

17 ToolCall,

18 ToolFunction,

19 ToolParameter,

20)

21 from agentos.llm.factory import create_provider

22 from agentos.llm.openai_provider import OpenAIProvider

23 from agentos.llm.deepseek_provider import DeepSeekProvider

24 from agentos.llm.anthropic_provider import AnthropicProvider

25 from agentos.llm.ollama_provider import OllamaProvider

26 from agentos.llm.pangu_provider import PanguProvider

27

28__all__ = [

29 "LLMProvider",

30 "OpenAIProvider",

31 "DeepSeekProvider",

32 "AnthropicProvider",

33 "OllamaProvider",

34 "PanguProvider",

35 "CompletionResult",

36 "CompletionChoice",

37 "CompletionUsage",

38 "TokenUsage",

39 "Message",

40 "MessageRole",

41 "StreamChunk",

42 "Tool",

43 "ToolCall",

44 "ToolFunction",

45 "ToolParameter",

46 "create_provider",

47]