From 83877ab1e656230336f75da609ddbbd9ea561136 Mon Sep 17 00:00:00 2001 From: James Hush Date: Tue, 9 Dec 2025 09:04:10 +0100 Subject: [PATCH] Update system prompt in Gemini example to be more instructive Changed the on_client_connected system message from a direct greeting to an instruction that tells the AI to introduce itself, giving the LLM more flexibility in how it starts the conversation. --- examples/foundational/07n-interruptible-gemini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/foundational/07n-interruptible-gemini.py b/examples/foundational/07n-interruptible-gemini.py index 4c329ed7b..ed689a28e 100644 --- a/examples/foundational/07n-interruptible-gemini.py +++ b/examples/foundational/07n-interruptible-gemini.py @@ -136,7 +136,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): messages.append( { "role": "system", - "content": "Hello! I'm your AI assistant. I can help you with a variety of tasks. What would you like to know?", + "content": "You are an AI assistant. You can help with a variety of tasks. Introduce yourself and ask the user what they would like to know.", } ) await task.queue_frames([LLMRunFrame()])