specific method · filed under inference & serving
Discard-all context management
Discard-all is a context management strategy that resets the context by discarding all previous tool-call history.1 It is applied when token usage exceeds a threshold of the context window, extending the token budget so agentic rollouts are not prematurely truncated.2
Trade-off Despite its simplicity, it performs well in both efficiency and scalability, comparable to parallel scaling while using significantly fewer steps.3
How this definition was written
Summarised by glm-5.3-flash from 2 sources; every sentence is checked against the quote it cites.
Discard-all, which resets the context by discarding all previous tool call history
— papercontext management employing simple strategies to extend token budgets at test time, when the token usage exceeds 80% of the context window length
— DeepSeek-V3.2: Pushing the Frontier of Open Large Language ModelsDespite its simplicity, Discard-all performs well in both efficiency and scalability, achieving a score of 67.6, comparable to parallel scaling while using significantly fewer steps
— paper
Also called Discard-all, discard-all context management strategy, discard-all strategy, Discarding all previous tool-call history.