Compaction produced no summary when the conversation ends on a tool result
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
Start by tracing auto-compaction and how it handles the summary model's response when the conversation ends on a tool result. Reproduce with the described llama.cpp Qwen3 setup and reasoning_content config; done looks like compaction retains a summary instead of reporting “Compaction produced no summary.”
索引モデルが issue の本文から書いたものです。
説明
Description
Auto-compaction often fails with "Compaction produced no summary" when using a models with tooling. I can only reproduce when the conversation ends on a tool result.
The summary request still includes the session's tools. The model then writes its summary in reasoning_content, makes a tool call, and returns empty content. OpenCode only reads content, so the summary is lost.
Plugins
None
OpenCode version
v2.0.22
Steps to reproduce
- Configure a provider pointing at llama.cpp using a Qwen3-based model. Use the
reasoning_contentconfig. - Start a session that runs many tool calls in a row (e.g. Playwright MCP) until it reaches the compaction threshold.
- Auto-compaction fires while the last message is a tool result.
- You get Compaction produced no summary.
Screenshot and/or share link
No response
Operating System
Arch Linux 7.2.2
Terminal
Gnome Terminal
- 主要言語
- TypeScript
- スター
- 212k
- フォーク
- 28.1k
- 平均マージ
- 9時間 58分
- マージ済み PR(30日)
- 373
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anomalyco/opencode のほかの issue
-
Windows: global-project session path depends on server process drive, hides API-created sessions from desktop picker対応中かも @1624318455 が 11 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[FEATURE]: Test that PermissionV2 declines pending requests when its scope closes対応中かも @saeedahmed96 が 9 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
EffectFlock heartbeat never refreshes, so locks held over 60 s can be broken対応中かも @iceteaSA が 11 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
anomalyco/opencode#51159 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
anomalyco/opencode の issue をすべて見る
似ている issue
-
dx hacktoberfest help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
cloudflare/agents#2498 ·
メンテナーはふだん 1 日以内に返信
-
Missing repro Platform: Android
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
software-mansion/react-native-reanimated#10816 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
redhat-developer/rhdh-plugin-export-overlays#4129 ·
メンテナーはふだん 1 日以内に返信