You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While using Claude Code, I noticed that once the context size reaches the autocompact_buffer threshold, auto-compact does not trigger as expected.
• Running /context shows the correct remaining context size.
• The remaining context clearly indicates that the buffer threshold has been hit.
• However, no compacting action is performed automatically.
• Manual /compact still works normally.
CLI Type
gemini-cli, iflow cli
Model Name
glm-4.6, minimax, kimi-k2-thinking, gemini-3-pro-preview
LLM Client
claude code
Expected behavior
When the remaining context reaches the configured autocompact buffer level, Claude Code should automatically trigger compacting.
Screenshots
If applicable, add screenshots to help explain your problem.
This discussion was converted from issue #363 on December 17, 2025 18:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
While using Claude Code, I noticed that once the context size reaches the autocompact_buffer threshold, auto-compact does not trigger as expected.
• Running /context shows the correct remaining context size.
• The remaining context clearly indicates that the buffer threshold has been hit.
• However, no compacting action is performed automatically.
• Manual /compact still works normally.
CLI Type
gemini-cli, iflow cli
Model Name
glm-4.6, minimax, kimi-k2-thinking, gemini-3-pro-preview
LLM Client
claude code
Expected behavior
When the remaining context reaches the configured autocompact buffer level, Claude Code should automatically trigger compacting.
Screenshots
If applicable, add screenshots to help explain your problem.
OS Type
Beta Was this translation helpful? Give feedback.
All reactions