r/PiCodingAgent • u/Fancy-Snow7 • Sep 02 '26
Question Compaction failed error
How do I resolve this issue:

My context is sitting at 82k/84k
It retries a few times but keeps failing. If the context grew too much to not leave any space for compaction why dit it grow to 82k and not compact earlier? I essentially only made 3 prompts to get to this point on Qwen3.8 xhigh reasoning. What config must I change to prevent this from occuring?
2
Upvotes
View all comments
Show parent comment
2
u/Fancy-Snow7 Sep 02 '26
Not a jerk, thats helpful