From 3199168d3ec65f9ee93e4e09cb284bac8f39a99b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Thu, 5 Mar 2026 19:14:06 -0800 Subject: [PATCH] scripts(evals): use context.add_message() --- scripts/evals/eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/evals/eval.py b/scripts/evals/eval.py index 16d205825..8084bc3a1 100644 --- a/scripts/evals/eval.py +++ b/scripts/evals/eval.py @@ -361,7 +361,7 @@ async def run_eval_pipeline( # Default behavior is for the bot to speak first # If the eval bot speaks first, we append the prompt to the messages if eval_config.eval_speaks_first: - messages.append( + context.add_message( {"role": "user", "content": f"Start by saying this exactly: '{eval_config.prompt}'"} ) await task.queue_frames([LLMRunFrame()])