Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Compaction produced no summary when the conversation ends on a tool result

Đang mở
#53,242 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Shalin-Shah-2002 đang làm issue này rồi.

Từ ngày 5/10/2026.

  • #53370 của @Shalin-Shah-2002 — đang mở

Đá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
  1. Configure a provider pointing at llama.cpp using a Qwen3-based model. Use the reasoning_content config.
  2. Start a session that runs many tool calls in a row (e.g. Playwright MCP) until it reaches the compaction threshold.
  3. Auto-compaction fires while the last message is a tool result.
  4. 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của anomalyco/opencode

Tất cả issue của anomalyco/opencode

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.