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

python
def supports_runtime_mode(mode: RuntimeMode) -> bool

Parameters

ParamField RuntimeMode

The runtime mode to check

Returns

ResponseField bool

True if the mode is supported, False otherwise

Source

View on GitHub

praisonaiagents/runtime/protocols.py at line 75