---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/context/thrift/subtractive_pass/variables/DEFAULT_THIS_TURN_RESULT_KEEP.md
description: >-
  How many of the NEWEST this-turn tool-result bodies to protect from
  budget-shedding as a last-resort backstop, by default.
---

# Variable: DEFAULT\_THIS\_TURN\_RESULT\_KEEP

```ts
const DEFAULT_THIS_TURN_RESULT_KEEP: 3 = 3;
```

Defined in: [src/batteries/context/thrift/subtractive\_pass.ts:100](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/context/thrift/subtractive_pass.ts#L100)

How many of the NEWEST this-turn tool-result bodies to protect from budget-shedding as a
last-resort backstop, by default.

## Remarks

A normal read→answer turn produces 1–2 this-turn results, so `N = 3` leaves the common case
untouched; a deep read-loop (several searches/reads in one turn) that piles up more can shed its
OLDEST bodies past this cap (the model has moved past them by the time it has made this many
calls). The single newest this-turn result is always kept regardless of this cap — see
[subtractToFit](../functions/subtractToFit.md)'s step 3b.
