resolve • AI Agent SDK
resolve: Resolve a runtime by ID with optional configuration overrides.
resolve
Method
</div>
This is a method of the RuntimeRegistryProtocol class in the registry module.
Resolve a runtime by ID with optional configuration overrides.
Signature
def resolve(runtime_id: str, config_overrides: Optional[Dict[str, Any]]) -> AnyParameters
ParamField
strRuntime identifier to resolve
ParamField
OptionalOptional configuration overrides
Returns
ResponseField
AnyRuntime instance (typically implementing AgentRuntimeProtocol)
Exceptions
ValueError
If runtime_id is not registered (fail-closed behavior)
TypeError
If runtime cannot be instantiated
Used By
Source
View on GitHubpraisonaiagents/runtime/registry.py at line 101