feat(agent-runtime): 接入多服务商安全配置

This commit is contained in:
bruce committed 2026-09-18 16:43:48 +08:00
1 parent 1e56a55399
commit f8c0c2d411
20 files changed
+1087 -31

No files matched your search

+8
View File
@@ -19,3 +19,11 @@ class PermissionDenied(DomainError):
class AgentConfigurationError(DomainError):
"""真实 Agent 执行所需配置缺失或不合法。"""
class ProviderConnectionError(DomainError):
"""模型服务商凭据验证失败;消息不得包含上游原始响应。"""
def __init__(self, code: str, message: str):
super().__init__(message)
self.code = code