fix(cli): preserve retried streamed response tail
This commit is contained in:
parent
1a66da4eb3
commit
971d350e53
|
|
@ -7908,6 +7908,9 @@ impl LiveCli {
|
||||||
match new_runtime.run_turn(input, Some(&mut rp)) {
|
match new_runtime.run_turn(input, Some(&mut rp)) {
|
||||||
Ok(summary) => {
|
Ok(summary) => {
|
||||||
self.replace_runtime(new_runtime)?;
|
self.replace_runtime(new_runtime)?;
|
||||||
|
if !final_assistant_text(&summary).is_empty() {
|
||||||
|
println!();
|
||||||
|
}
|
||||||
spinner.finish(
|
spinner.finish(
|
||||||
if round == 0 {
|
if round == 0 {
|
||||||
"✨ Done (after auto-compact)"
|
"✨ Done (after auto-compact)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue