Update examples to align with latest best practices

This commit is contained in:
Mark Backman
2025-01-10 14:13:10 -05:00
parent a8ae79831e
commit 4d0c11fcab
52 changed files with 365 additions and 134 deletions

View File

@@ -525,7 +525,7 @@ async def main():
"content": "Start by just saying \"Hello I'm ready.\" Don't say anything else.",
}
)
await task.queue_frames([LLMMessagesFrame(messages)])
await task.queue_frames([context_aggregator.user().get_context_frame()])
@transport.event_handler("on_app_message")
async def on_app_message(transport, message, sender):