removed space from event handler

This commit is contained in:
Jon Taylor
2024-06-26 18:30:56 +01:00
parent 6ee7932337
commit 5bd5d22270

View File

@@ -142,7 +142,9 @@ async def main(settings: BotSettings):
# Provide some air whilst tracks subscribe # Provide some air whilst tracks subscribe
time.sleep(2) time.sleep(2)
messages.append( messages.append(
{"content": "Briefly introduce yourself by saying 'hello, I'm FastBot, how can I help you today?'"}) {
"role": "system",
"content": "Briefly introduce yourself by saying 'hello, I'm FastBot, how can I help you today?'"})
await task.queue_frames([LLMMessagesFrame(messages)]) await task.queue_frames([LLMMessagesFrame(messages)])
runner = PipelineRunner() runner = PipelineRunner()