graph LR
subgraph 压缩前["❌ 压缩前:全量加载"]
A1["轮次 1
1.2K tokens"] --> A2["轮次 2
3.5K tokens"]
A2 --> A3["轮次 3
2.8K tokens"]
A3 --> A4["轮次 4
4.1K tokens"]
A4 --> A5["...
持续膨胀 💥"]
end
A5 --> C["🗜️ Compaction
自动压缩"]
subgraph 压缩后["✅ 压缩后:智能摘要"]
C --> B1["摘要
0.6K tokens"]
B1 --> B2["轮次 4
4.1K tokens"]
B2 --> B3["新轮次
继续对话 ✅"]
end
style C fill:#10a37f,stroke:#fff,color:#fff