ContentReplacementState class
Per-conversation-thread state for the aggregate tool result budget.
State must be stable to preserve prompt cache:
- seenIds: results that have passed through the budget check (replaced or not). Once seen, a result's fate is frozen for the conversation.
- replacements: subset of seenIds that were persisted to disk and replaced with previews, mapped to the exact preview string shown to the model.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited