All Questions
Ai Coding And Product Systems easy

In your ChatGPT-style assistant, a user's thread has grown past 100K tokens. Each new reply is slower and more expensive, and the thread is approaching the model's context limit. What should the system do?

  1. A Summarize older turns into a running summary and keep recent turns verbatim.
  2. B Keep sending the full history every turn, since the model needs every message to stay coherent.
  3. C Drop the system prompt and tool definitions to free up room for the full conversation history.
  4. D Truncate the newest messages first so the original context from the start of the thread survives.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions