Skip to content
Menu

Help article

Long conversations and the context window

Each model reads a limited amount of conversation at once. When a conversation nears that limit, iTwins summarizes earlier turns so the agent can keep working.

  1. The context window is how much of the conversation the model reads each turn.
  2. Near the limit, iTwins summarizes earlier turns ("Chat context summarized") and the agent continues with the summary plus the recent turns. Files on the computer are not affected. A preCompact hook runs first if you configured one.
  3. If a summary is stopped, the conversation shows "Summarization stopped" and keeps its full history.
  4. For a long task, ask the agent to write decisions into a file in the project; that file outlives any summary. A new conversation for a new task keeps context focused.
  5. Max mode (in the model menu) uses the largest context window the model offers, at higher cost.
Questions? Email support@itwins.com

All help and contact options