Process Steering • AI Agent SDK
process_steering: Process any pending steering messages and update execution context.
process_steering
Method
</div>
This is a method of the MessageSteeringProtocol class in the protocols module.
Process any pending steering messages and update execution context.
This method is called during agent execution to check for and process any steering messages that have been queued.
Signature
def process_steering(context: Optional[Dict[str, Any]]) -> boolParameters
ParamField
OptionalOptional execution context to update
Returns
ResponseField
boolTrue if messages were processed, False otherwise
Source
View on GitHubpraisonaiagents/agent/protocols.py at line 503