| Files | Last commit | Last update |
|---|---|---|
fix(context): truncate history by complete user turns (#11316) * fix(context): truncate history by complete user turns * fix(context): preserve internal turn boundaries | 5 days ago | |
perf(context): reduce repeated work in token estimation and truncation (#11167) * perf(context): avoid recounting retained history during truncation Subtract dropped-round estimates for the built-in token counter and compressors instead of rescanning all retained content. Preserve full recounts for custom implementations, whole tool rounds, and the latest request even when it exceeds the context limit. * perf(context): skip redundant text scans and history list rebuilds Estimate ASCII text directly with the existing weight and rounding. Rebuild retained history once for built-in compression while preserving current messages and full recounts for custom implementations. Cover character boundaries, per-part rounding, and custom compressor message/count consistency. | 13 days ago | |
fix(context): truncate history by complete user turns (#11316) * fix(context): truncate history by complete user turns * fix(context): preserve internal turn boundaries | 5 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 days ago | ||
| 13 days ago | ||
| 5 days ago |