Agent stalls mid-turn: preamble line with no tool call follows (requires user nudge)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Bereich
- ai-infra-agents, cli
Rechercherichtung
Start by tracing how the CLI handles a model response that emits a conversational preamble without a tool call, then inspect the turn orchestration and trace handling for the supplied trace ID. Reproduce the stall in a long session with a multi-step tool chain and compare it with a single-tool turn. Done means the turn continues to the next tool call or reports a visible error instead of waiting for a user nudge.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
[##](
) Summary
Agent randomly stalls mid-turn: it prints a conversational :: preamble line (e.g. "Pushing both now — hedge-wizardry first, pi-gauge second.") and then stops. No tool call follows. Session shows * Worked for 1m 20s and waits for user input. Any nudge ("push", "continue", "stalled again ") resumes it from the same state.
Related: #1111 (sub-agents interrupted with no output — same family, but this is the main agent stalling, not a sub-agent).
Repro / frequency
- Random, but much more frequent in long sessions and when a turn needs a chain (preamble → shell → read → shell).
- Single-tool turns (e.g. one web_search) usually land in one go.
- Happened in a forked session where I did nothing except watch — so not caused by user edits mid-turn.
Environment
cmd --version: 1.88.4- OS: Arch Linux (hyprland / alacritty terminal)
- Trace ID (copied via
/traceat stall time):15950f53fef5b9f1628951135c7d0180
Expected
Preamble should always be followed by the tool call, or the turn should error visibly instead of going idle with * Worked for ... and no result.
Workaround
Sending any follow-up nudges it and it resumes fine. /compact or a fresh forked session lowers the rate. Nothing is lost (committed turns persist).
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4.2k
- Forks
- 377
- Ø Merge
- 1 T. 3 Std.
- Gemergte PRs (30 T.)
- 6
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CommandCodeAI/command-code
-
Provider /v1/messages rejects role:"system" inside messages[] — Claude Code ≥ 2.1.154 incompatibleOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
CommandCodeAI/command-code#1085 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Feature request: auto-reconnect remote control (/rc) after restartEvtl. vergeben @aliarain hat das vor 20 Tagen übernommen. Offenp2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
CommandCodeAI/command-code#992 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#933 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#855 ·
Maintainer antworten meist innerhalb von 1 Tag
-
grep tool passes empty file type to ripgrepEvtl. vergeben @ahmadbilaldev hat das vor 19 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#655 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in CommandCodeAI/command-code
Ähnliche Issues
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
developmentwithyash/yaan#60 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/billing area/config comp/tui-gateway P2 provider/openrouter type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
NousResearch/hermes-agent#153086 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 2 Tagen
-
ai-generated structs tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag