From 2de39915fa31b93ce51deb0d0ec2957148cc5e77 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 24 Jul 2024 18:06:53 +0200 Subject: [PATCH] Fix analysis --- lumen/ai/assistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lumen/ai/assistant.py b/lumen/ai/assistant.py index d21503a2..62f60d79 100644 --- a/lumen/ai/assistant.py +++ b/lumen/ai/assistant.py @@ -185,7 +185,7 @@ async def use_suggestion(event): break else: return - await agent.invoke([{'role': 'User', 'contents': contents}]) + await agent.invoke([{'role': 'User', 'content': contents}]) else: self.interface.send(contents)