register • AI Agent SDK

register: Register a runtime with the registry.

register

Method

</div>

This is a method of the RuntimeRegistry class in the registry module.

Register a runtime with the registry.

Signature

python
def register(runtime_id: str, factory_or_instance: Any) -> None

Parameters

ParamField str

No description available.

ParamField Any

No description available.

Uses

  • callable
  • ValueError

Used By

Source

View on GitHub

praisonaiagents/runtime/registry.py at line 172