🔥 3-day streak
Microsoft Azure AI Apps and Agents Developer Associate30 / 146
Question 30 of 146

You are building an Azure AI Foundry agent for a customer support scenario where conversations can span dozens of turns. Users complain that after long sessions the agent begins to lose track of earlier details, and you also notice per-request token costs climbing steeply as the thread grows. You want the agent to retain the essential context of the entire conversation while keeping the prompt token count bounded. What is the most appropriate approach?

Reviewed for accuracy · Report an issueNext question