Compaction produced no summary when the conversation ends on a tool result
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
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.”
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 212k
- Fork
- 28.1k
- Merge trung bình
- 9 giờ 58 phút
- Pull request đã merge (30 ngày)
- 373
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của anomalyco/opencode
-
Windows: global-project session path depends on server process drive, hides API-created sessions from desktop pickerCó thể đã có người làm @1624318455 đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[FEATURE]: Test that PermissionV2 declines pending requests when its scope closesCó thể đã có người làm @saeedahmed96 đã nhận 9 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
EffectFlock heartbeat never refreshes, so locks held over 60 s can be brokenCó thể đã có người làm @iceteaSA đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
anomalyco/opencode#51159 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của anomalyco/opencode
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
wardian-app/Wardian#1603 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sign the pledgeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
input-output-hk/devx-updates#168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/docs#46222 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-ready area: config area: skills type: chore upstream: brain-kit
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
dev experience frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cuttle-cards/cuttle#1403 ·
Maintainer thường phản hồi trong vòng 1 ngày