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
{{ message }}
Repository navigation
[openai_responses] Continuous compaction loop on startup #2325
In Kimi 0.29.2 (Linux x64), when using the openai_responses API type with a self-hosted model, Kimi continuously triggers compaction immediately after startup.
The application repeatedly performs compaction without any user interaction:
● Compaction complete (29477 → 266 tokens) (Ctrl-O to show compaction summary)
● Compaction complete (270 → 832 tokens) (Ctrl-O to show compaction summary)
● Compaction complete (836 → 621 tokens) (Ctrl-O to show compaction summary)
This makes Kimi unable to enter the normal interactive state.
The same self-hosted model works correctly with Codex, so the model endpoint appears to be compatible. The issue only occurs when using Kimi 0.29.2 with the openai_responses configuration.
What steps can reproduce the bug?
Steps to reproduce
Configure Kimi 0.29.2 to use a self-hosted model.
Set the API type to openai_responses.
Start Kimi.
Observe that compaction starts repeatedly without any user interaction.
What is the expected behavior?
Kimi should start normally, connect to the self-hosted model, and wait for user input.
Compaction should only happen when the context length reaches the configured limit, not continuously during startup.
Activity
344303947 commentedon Jul 30, 2026
same issue . qwen3.6 27b 0.30
[loop_control]
reserved_context_size = 100000
344303947 commentedon Jul 30, 2026