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
refactor(agents): drop the mid-turn compaction min-tokens floor
The `minTokens` guard (default 2000, env ELECTRIC_AGENTS_COMPACT_MIN_TOKENS)
never changed the outcome at any realistic ceiling — 90% of a real context
window is always far above 2000 tokens, so the floor only ever mattered when
testing with an artificially low ceiling. Codex has no equivalent floor (it
triggers on a single token threshold). Remove the knob, its env override, and
the now-unused positiveFromEnv helper.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments