Should Keep Draining • AI Agent SDK

should_keep_draining: Return a :class:`DrainDecision` for the supplied facts.

should_keep_draining

Method

</div>

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

Return a :class:DrainDecision for the supplied facts.

Signature

python
def should_keep_draining() -> DrainDecision

Returns

ResponseField DrainDecision

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4459