Coverage for src\genesis\inference\__init__.py: 100%
5 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-26 14:20 +0800
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-26 14:20 +0800
1"""Genesis 推理引擎(统一 LLM 调用入口)。"""
3from .engine import InferenceEngine
4from .prompt_registry import PromptRegistry
5from .types import ChatMessage, ChatResult, Prompt, StructuredResult, TokenUsage
6from .exceptions import (
7 LLMError,
8 LLMNetworkError,
9 LLMNotConfiguredError,
10 LLMResponseError,
11 LLMTimeoutError,
12)
14__all__ = [
15 "InferenceEngine",
16 "PromptRegistry",
17 "ChatMessage",
18 "ChatResult",
19 "Prompt",
20 "StructuredResult",
21 "TokenUsage",
22 "LLMError",
23 "LLMNetworkError",
24 "LLMNotConfiguredError",
25 "LLMResponseError",
26 "LLMTimeoutError",
27]