Skip to content

chat: an interrupted turn leaves an exchange in the history - #61

Merged
daniel-rossier merged 1 commit into
mainfrom
fix/interrupted-turn-history
Nov 29, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
fix/interrupted-turn-history

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

An interrupted turn (Ctrl+C or the stall detector) left nothing in the history, so the next turn started blind and /fix refused with "No complete exchange to correct". It now keeps the partial answer, or a note naming the last work done, like a cut turn already did. Tests: tests/test_cut_turn.py.

An interrupted turn, by Ctrl+C or by the stall detector, went back to the
prompt without touching the history. The next turn started from nothing,
and /fix was refused with "No complete exchange to correct", though a turn
that ran 152 tool calls and concluded nothing is the one most worth a
correction.

The interrupted path now keeps the partial answer, or a note naming the
last work done, as the cut-turn path already did; both share
cli/cut_turn.py.
@daniel-rossier
daniel-rossier merged commit 2181f96 into main Nov 29, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the fix/interrupted-turn-history branch November 29, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant