Should Escalate • AI Agent SDK

should_escalate: Check if escalation is needed based on current state.

should_escalate

Method

</div>

This is a method of the StageContext class in the types module.

Check if escalation is needed based on current state.

Signature

python
def should_escalate(config: EscalationConfig) -> bool

Parameters

ParamField EscalationConfig

No description available.

Returns

ResponseField bool

The result of the operation.

Source

View on GitHub

praisonaiagents/escalation/types.py at line 196