You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over the budget, ContextBudgetChatReducer masks old tool results before it drops anything: ToolResultMasker. A
result outside the newest three user turns (or, with protectedTokens, past a token budget counted from the newest
back — the newest round always stays) becomes a placeholder naming the call, its size and how to get it again; the call
stays, so the model still knows what it read. ContextBudgetOptions.Masking (default on, null skips it) and ContextBudgetOptions.Retention — an IToolResultRetention keeps each masked original and the placeholder names its id
and the tool that reads it back instead of asking for the same call (IronHive.Agent's retrieve_tool_result is one).
Messages are dropped only when masking is not enough. The masker is IronHive.Agent's ObservationMasker rule.