Supports Runtime Mode • AI Agent SDK
supports_runtime_mode: Check if this runtime supports the given execution mode.
supports_runtime_mode
Method
</div>
This is a method of the TurnRuntimeProtocol class in the protocols module.
Check if this runtime supports the given execution mode.
Signature
def supports_runtime_mode(mode: RuntimeMode) -> boolParameters
ParamField
RuntimeModeThe runtime mode to check
Returns
ResponseField
boolTrue if the mode is supported, False otherwise
Source
View on GitHubpraisonaiagents/runtime/protocols.py at line 75