Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#53,242 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Shalin-Shah-2002 ci sta già lavorando.

Dal 5/10/2026.

  • #53370 di @Shalin-Shah-2002 — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

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.”

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
212k
Fork
28.1k
Merge medio
9h 3m
PR unite (30g)
384

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode

Tutte le issue di anomalyco/opencode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.