-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy path__init__.py
More file actions
98 lines (95 loc) · 2.74 KB
/
Copy path__init__.py
File metadata and controls
98 lines (95 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Tencent is pleased to support the open source community by making tRPC-Agent-Python available.
#
# Copyright (C) 2026 Tencent. All rights reserved.
#
# tRPC-Agent-Python is licensed under Apache-2.0.
"""Model package initialization module.
This module exports all public interfaces of the model system,
including base classes, request/response types, and implementations.
"""
from ._anthropic_model import AnthropicModel
from ._constants import API_KEY
from ._constants import ASSISTANT
from ._constants import BASE_URL
from ._constants import CHOICES
from ._constants import CHUNK
from ._constants import CLIENT_ARGS
from ._constants import CONTENT
from ._constants import DELTA
from ._constants import FINISH_REASON
from ._constants import INDEX
from ._constants import MESSAGE
from ._constants import MODEL
from ._constants import ORGANIZATION
from ._constants import RAW_RESPONSE
from ._constants import REASONING_CONTENT
from ._constants import ROLE
from ._constants import SYSTEM
from ._constants import THINKING_ENABLED
from ._constants import THINKING_TOKENS
from ._constants import TOOL
from ._constants import TOOL_CALLS
from ._constants import TOOL_CALL_ID
from ._constants import TOOL_STREAMING
from ._constants import TOOL_STREAMING_ARGS
from ._constants import USAGE
from ._constants import USER
from ._litellm_model import LiteLLMModel
from ._llm_model import LLMModel
from ._llm_request import LlmRequest
from ._llm_response import LlmResponse
from ._openai_model import ApiParamsKey
from ._openai_model import FinishReason
from ._openai_model import OpenAIModel
from ._openai_model import ToolCall
from ._openai_model import ToolKey
from ._httpx_client import close_shared_http_clients
from ._httpx_client import temporary_http_client_provider_factory
from ._httpx_client import shared_http_client_provider_factory
from ._httpx_client import HttpClientProviderFactory
from ._registry import ModelRegistry
from ._registry import register_model
__all__ = [
"API_KEY",
"BASE_URL",
"CLIENT_ARGS",
"ORGANIZATION",
"ROLE",
"USER",
"ASSISTANT",
"SYSTEM",
"MODEL",
"TOOL",
"CONTENT",
"CHOICES",
"USAGE",
"MESSAGE",
"TOOL_CALLS",
"TOOL_CALL_ID",
"DELTA",
"INDEX",
"RAW_RESPONSE",
"FINISH_REASON",
"CHUNK",
"TOOL_STREAMING",
"REASONING_CONTENT",
"TOOL_STREAMING_ARGS",
"THINKING_ENABLED",
"THINKING_TOKENS",
"AnthropicModel",
"LiteLLMModel",
"LLMModel",
"LlmRequest",
"LlmResponse",
"ApiParamsKey",
"FinishReason",
"OpenAIModel",
"ToolCall",
"ToolKey",
"close_shared_http_clients",
"temporary_http_client_provider_factory",
"shared_http_client_provider_factory",
"HttpClientProviderFactory",
"ModelRegistry",
"register_model",
]