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

python
def is_sticky(outcome: RunTerminal) -> bool

Parameters

ParamField RunTerminal

No description available.

Returns

ResponseField bool

The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/run_outcome.py at line 398