docs: describe what a rolled-back turn keeps

A failed or cancelled turn drops unfinished assistant text, and tool calls
whose result already arrived stay in history (and in the store), so /retry
continues from real results instead of running those tools again.
This commit is contained in:
2026-10-06 20:32:35 +08:00
parent cecd5e5ae3
commit 4b1cb84256
3 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -112,9 +112,10 @@ HISTORY_ROW_NUMBER = HistoryRowNumberType()
HELP_FOOTER = (
"User messages are saved immediately. On API errors or Ctrl+C, partial\n"
"assistant/tool output is discarded but the user message stays (so /retry\n"
"works after resume, not only via readline history). Auto-retry: 10s/20s/30s.\n"
"User messages are saved immediately. On API errors or Ctrl+C, unfinished\n"
"assistant text is discarded (tool results that already ran stay, so /retry\n"
"does not re-run them) but the user message stays (so /retry works after\n"
"resume, not only via readline history). Auto-retry: 10s/20s/30s.\n"
"\n"
"Side questions: /btw … answers without changing the main session\n"
"(--tools=read by default: read-only tools; --tools no/full opt-in; --fresh).\n"