fix(cli): preserve retried streamed response tail

This commit is contained in:
nankingjing 2026-07-14 01:18:47 +00:00
parent 1a66da4eb3
commit 971d350e53
1 changed files with 3 additions and 0 deletions

View File

@ -7908,6 +7908,9 @@ impl LiveCli {
match new_runtime.run_turn(input, Some(&mut rp)) {
Ok(summary) => {
self.replace_runtime(new_runtime)?;
if !final_assistant_text(&summary).is_empty() {
println!();
}
spinner.finish(
if round == 0 {
"✨ Done (after auto-compact)"