Context Compaction for Local Models¶
When a conversation no longer fits a local model's context, the earlier part could be summarised so that the turn goes on instead of ending.
| Field | Value |
|---|---|
| ID | AGT-28 |
| Status | Idea |
| Scope | Supporting |
| Pillar | Agents and Automation |
| Sprint | None |
| Depends On | Local Models in the Side Chat (AGT-04) |
| Unblocks | None |
| Docs | None |
| Branches | None |
| Design | None |
Coverage Ledger¶
- design/byok-agent.md, under Ollama's own chat API and the context length. Open: compaction of a conversation that no longer fits a local model's context, instead of ending the turn.
- design/byok-agent.md, under What is built and what waits. Waits: compaction of a conversation that no longer fits a local model's context length.
- Pull request #19. Not done in pull request 19: holding a launch as one command with an approval id, offering to compact a conversation that no longer fits, and the repeated layout.set rows in Activity; the reshape step and packaging of caliper-agent and caliper-mcp moved to sprint 5; axis ticks on the tiled attention view are not added.
- Orchestrators' notes,
sprint3-integration/PR3.md. Known gap: offering to compact a conversation that no longer fits the context is not built; the turn ends with a message.