Files
PraisonAI/examples/python
praisonai-triage-agent[bot]andMervin Praison 86aeaa4d89 feat: add in-flight run control for channel sessions (fixes #1914) (#1920)
* feat: add in-flight run control for channel sessions (fixes #1914)

- Add SessionRunControl class with busy feedback and message queuing
- Support for queue/interrupt/steer modes and /stop command
- Integrate InterruptController from core SDK for cancellation
- Add BotSessionManager.chat_with_run_control() method
- Extend BotConfig with busy_mode and busy_ack settings
- Add /stop command handler and help text updates
- Include comprehensive example and test coverage

Resolves silent blocking issue where mid-run messages queue
invisibly with no user feedback or cancellation option.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: MervinPraison <[email protected]>

* fix: resolve critical bugs in run control implementation

- Fix interrupt controller restoration to prevent deletion (issue #1920)
- Fix memory leak in cleanup_stale_sessions with last_activity tracking
- Add config field wiring in TelegramBot for busy_mode support
- Change steer mode fallback to WARNING level for visibility

Co-authored-by: Mervin Praison <[email protected]>

---------

Co-authored-by: praisonai-triage-agent[bot] <272766704+praisonai-triage-agent[bot]@users.noreply.github.com>
Co-authored-by: MervinPraison <[email protected]>
2026-06-13 09:25:24 +01:00
..
2026-05-21 11:42:37 +01:00
2026-06-13 00:42:25 +01:00
2026-01-18 21:18:40 +00:00
2026-01-08 19:55:06 +00:00
2026-02-14 00:06:53 +00:00
2026-01-31 08:34:24 +00:00
2026-01-08 20:12:14 +00:00
2026-01-31 08:34:24 +00:00
2026-01-26 08:08:18 +00:00
2026-01-31 08:34:24 +00:00
2026-01-08 21:14:45 +00:00
2026-01-18 21:18:40 +00:00
2026-01-31 08:34:24 +00:00
2026-01-08 21:14:45 +00:00
2026-01-31 08:34:24 +00:00
2026-01-18 21:18:40 +00:00
2026-01-26 08:08:18 +00:00
2026-01-31 08:34:24 +00:00
2026-01-16 05:23:44 +00:00
2026-01-08 20:12:14 +00:00
2026-01-08 21:14:45 +00:00
2026-01-31 08:34:24 +00:00
2026-01-08 21:14:45 +00:00
2026-01-08 21:14:45 +00:00
2026-01-31 08:34:24 +00:00
2026-01-31 08:34:24 +00:00
2026-01-31 08:34:24 +00:00
2026-06-13 00:42:25 +01:00
2026-01-08 19:55:06 +00:00
2026-02-12 05:46:02 +00:00
```
2026-03-16 16:31:23 +00:00
2026-01-29 10:45:00 +00:00
2026-02-12 05:46:02 +00:00
2026-01-16 06:33:39 +00:00
2026-01-08 14:36:54 +00:00
2026-01-29 10:45:00 +00:00
2026-01-26 08:08:18 +00:00
2026-01-29 10:45:00 +00:00
2026-01-26 08:08:18 +00:00
2026-01-26 08:08:18 +00:00
2026-04-11 08:22:46 +01:00
2026-01-31 08:34:24 +00:00
2026-01-31 08:34:24 +00:00
2026-01-29 10:45:00 +00:00
2026-02-18 10:37:43 +00:00
2026-01-26 08:08:18 +00:00
2026-01-26 08:08:18 +00:00