evaluate • AI Agent SDK
evaluate: Return a :class:`LivenessDecision` for the supplied timestamps.
evaluate
Method
</div>
This is a method of the LivenessPolicyProtocol class in the protocols module.
Return a :class:LivenessDecision for the supplied timestamps.
Signature
def evaluate(last_activity: float, now: float) -> LivenessDecisionParameters
ParamField
floatNo description available.
ParamField
floatNo description available.
Returns
ResponseField
LivenessDecisionThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 7231