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
tui: /compact fails with "Compaction produced no summary" (deepseek flash) #42371
Running /compact in the TUI consistently fails: the compaction step is marked as failed (red x Compaction) and reports "Compaction produced no summary". No session summary is produced, so context compaction does not work.
Environment
opencode version: 1.18.16 (opencode --version)
OS: macOS Darwin arm64
Terminal: TERM=xterm-256color
Shell: /bin/zsh
Install/channel: release (1.18.16)
Active plugins: none found (no opencode.json/opencode.jsonc in cwd or ~/.config/opencode/)
Reproduction
Open a session in the TUI (active model: deepseek flash).
Run /compact.
Observe the red x Compaction entry and the message Compaction produced no summary.
Expected Behavior
Compaction runs and produces a summary of the session that is applied, so the context is compacted and the conversation can continue normally.
Actual Behavior
Consistent failure: no summary is produced. The compaction step is marked as failed (red x Compaction) with the message Compaction produced no summary.
Additional Context
Consistently reproducible, not intermittent.
Active model: deepseek flash. Hypothesis: compaction uses the active model, and deepseek flash returns empty/unsupported content for the summary step (or the summary request fails). Worth checking whether compaction succeeds with other models, and surfacing the underlying model response/error instead of the generic "produced no summary" message.
Both issues share the same core behavior: the compaction agent produces no summary when using a reasoning model (DeepSeek or similar), and #42363 in particular covers the exact same model and symptom you are seeing.
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.
Activity
github-actions commentedon Aug 13, 2026
This issue might be a duplicate of existing issues. Please check:
Both issues share the same core behavior: the compaction agent produces no summary when using a reasoning model (DeepSeek or similar), and #42363 in particular covers the exact same model and symptom you are seeing.
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊