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
def should_keep_draining() -> DrainDecisionReturns
ResponseField
DrainDecisionThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 4459