Has Pending Messages • AI Agent SDK

has_pending_messages: Check if there are pending steering messages.

has_pending_messages

Method

</div>

This is a method of the MessageSteeringProtocol class in the protocols module.

Check if there are pending steering messages.

Signature

python
def has_pending_messages() -> bool

Returns

ResponseField bool

True if messages are pending, False otherwise

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 527