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
{{ message }}
Repository navigation
Confirm only stops that ended a run, and keep a thread engaged after a stopped first mention #351
Two stop button follow-ups from the review of #347, both shared with the starter and personal agents.
Confirm only stops that ended a run.listeners/events/agent_session_stopped.py (each subproject) posts "Stopped." and sets the session to active even when no run was in flight, so a stop clicked as a reply finishes leaves the full answer followed by "Stopped.". Posting only when run_store.stop_before() stopped something would avoid that. The siblings track the same change in slack-samples/bolt-python-starter-agent#325 and slack-samples/bolt-python-personal-agent#23, so the samples can change together.
A stopped first mention leaves the thread unengaged. A run that's stopped stores no session (or history), so when the first @Casey mention in a channel thread is stopped, listeners/events/message.py ignores the person's later replies in that thread until they mention Casey again. DMs aren't affected. One option is to record the thread as engaged when the run starts rather than when it finishes.
Activity