aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/agenda.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-26 08:56:08 +0200
committerDanilo M. <danix@danix.xyz>2026-09-26 08:56:08 +0200
commitbe9719e61feab28612499680be9efd7411c5254f (patch)
tree61d52badaea0c27aa58d0f595710199f6fdab0f9 /examples/tools/agenda.py
parent4a357b335f74ae64714800527ac3e95b7057a3ce (diff)
downloaddesktop-assistant-be9719e61feab28612499680be9efd7411c5254f.tar.gz
desktop-assistant-be9719e61feab28612499680be9efd7411c5254f.zip
Let a button press cut the current reply (barge-in)
Every press bumps a turn counter and kills the running aplay; queued audio from an older turn is dropped, and reply() now runs on its own thread and returns once its turn is stale, so the button loop is never blocked. A cut-off exchange is left out of history so user and assistant messages still alternate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/agenda.py')
0 files changed, 0 insertions, 0 deletions