Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tui): clear stopping state on channel_outbound events

Steven Enamakel5aa577e5d92e
diff --git a/crates/openhuman-tui/src/app/events.rs b/crates/openhuman-tui/src/app/events.rs
index 6d016be6ef..8174292d1a 100644
--- a/crates/openhuman-tui/src/app/events.rs
+++ b/crates/openhuman-tui/src/app/events.rs
@@ -13,7 +13,10 @@ pub(super) fn handle_web_event(
{
return;
}
- if matches!(ev.event.as_str(), "chat_done" | "chat_error") {
+ if matches!(
+ ev.event.as_str(),
+ "chat_done" | "channel_outbound" | "chat_error"
+ ) {
ui.stopping = false;
}
match ev.event.as_str() {