You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: reset 'Working x seconds' timer when new prompt is submitted
Previously, the timer would not reset if a previous conversation turn
didn't properly call full_reset(). This change adds a reset_timer
parameter to StreamingState::start() that allows callers to explicitly
control whether the prompt timer should be reset.
- New user prompts (handle_submit_with_provider, handle_submit) now
reset the timer by passing reset_timer=true
- Tool continuations (send_tool_results_to_llm) preserve the timer by
passing reset_timer=false
This ensures the 'Working x seconds' indicator always starts from 0
when a user sends a new prompt, while maintaining correct behavior
during multi-step tool execution chains.
0 commit comments