Is Sticky • AI Agent SDK
is_sticky: Whether “outcome“ can never be overwritten by a later observation.
is_sticky
Function
</div>
This function is defined in the run_outcome module.
Whether `outcome` can never be overwritten by a later observation.
Deliberate cancellations (`external), hard run-budget timeouts (run_budget), and supersedes (superseded`) are intentional terminals: once recorded they are authoritative.
Signature
def is_sticky(outcome: RunTerminal) -> boolParameters
ParamField
RunTerminalNo description available.
Returns
ResponseField
boolThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/run_outcome.py at line 398