From 3cb78d839d820c3832aff37b9982d0d55f3e5d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Sat, 20 Sep 2025 10:33:52 -0700 Subject: [PATCH] examples(foundational): update comment in 45-before-and-afet-events.py --- examples/foundational/45-before-and-after-events.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/foundational/45-before-and-after-events.py b/examples/foundational/45-before-and-after-events.py index eca4de7df..c84053bbd 100644 --- a/examples/foundational/45-before-and-after-events.py +++ b/examples/foundational/45-before-and-after-events.py @@ -124,8 +124,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): logger.info(f"Client connected") # Kick off the conversation. messages.append({"role": "system", "content": "Please introduce yourself to the user."}) - # CustomSynchronizationFrame is pushed in order so it will reach the - # `on_after_push_frame` handler before the bot has finished talking. + # Custom frames are pushed in order so they can be used for synchronization purposes. await task.queue_frames([CustomBeforeProcessFrame(), LLMRunFrame(), CustomAfterPushFrame()]) @transport.event_handler("on_client_disconnected")