-
-
Notifications
You must be signed in to change notification settings - Fork 49
Description
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Describe the bug
On latest eca version, autocompacting shows 0 / 200 context but then immediately baloons to 140k without any relevant reasons. In the screenshot below you see only a sub agent started that I stopped after 1 small step. This leads to unusable agents because they baloon context and have to compact 5 times in 5 minutes and having to restart the tasks they were doing
To Reproduce
Steps to reproduce the behavior:
- Start a session
- Give agent a relatively complex task
- See context baloon
- See autocompacting
- Immediately after 1 step after compacting, context goes to 140k
Expected behavior
After compaction, the context should be 20-30k tokens max.
Doctor
ECA version: 0.112.1
Server cmd: /home/ovistoica/.config/emacs/eca/eca server
Workspaces: /home/ovistoica/workspace/proj, /home/ovistoica/workspace/proj-worktrees/some-branch
Default model: anthropic/claude-sonnet-4-6 (Subscription (oauth), expires 2026-03-13 14:41)
Logged providers:
anthropic: Subscription (oauth), expires 2026-03-13 14:41
Relevant env vars:
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
Credential files: None found
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.