Quiz 5 Question 5 of 20

A developer diagnoses a GitHub Copilot agent with context bloat: the agent is accumulating the full text of every file it reads into its working context, causing token costs to spike and later reasoning steps to degrade as earlier instructions get pushed out of the context window. Which memory refinement strategy best addresses this problem?

Select an answer to reveal the explanation.

Motivation