fix: keep in-flight cleanup internal

This commit is contained in:
2026-07-27 16:38:47 +09:00
parent 1dc6429b87
commit 5d1950647e
6 changed files with 3 additions and 70 deletions
-6
View File
@@ -1030,12 +1030,6 @@ impl App {
"LLM stream interrupted; continuing generation ({attempt}/{max_attempts}): {reason}"
));
}
Event::InFlightCleared => {
self.assistant_streaming = false;
self.latest_llm_wait_event = None;
self.mark_orphan_tool_calls_incomplete();
self.current_tool = None;
}
Event::TextDelta { text } => {
self.latest_llm_wait_event = None;
self.append_assistant_text(&text);