-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Problem
After warmup completes, the TUI shows "model ready" with the throbber spinner, but neither ever disappears. The spinner continues indefinitely because status_label is never cleared.
Root Cause
In src/main.rs:435-436, warmup sends AgentEvent::Status("model ready") but never follows up with AgentEvent::Status("") to clear the label. The throbber renders whenever status_label.is_some() (crates/zeph-tui/src/widgets/chat.rs:93).
Expected Behavior
- Warmup completes → "model ready" appears (spinner stops or shows checkmark)
- After 2 seconds → status label and spinner disappear
Implementation
Option A (simple, in main.rs): spawn a delayed task after warmup that sleeps 2s then sends Status("").
Option B (in App): add transient status support — AgentEvent::TransientStatus { text, duration } that auto-clears via a timer in the event loop. Cleaner and reusable for other transient messages.
Files
src/main.rs:428-438— warmup taskcrates/zeph-tui/src/app.rs:301-303— Status event handlercrates/zeph-tui/src/widgets/chat.rs:93-107— throbber renderingcrates/zeph-tui/src/event.rs— AgentEvent enum
Reactions are currently unavailable