From 19bcc8620c31458db61e6a83bcb0ce108efec597 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Fri, 20 Mar 2026 18:29:22 -0400 Subject: [PATCH] Fix Gemini Live not honoring settings.system_instruction _system_instruction_from_init was being set from the deprecated `system_instruction` constructor parameter instead of `self._settings.system_instruction`, so system instructions provided via settings were silently ignored. --- src/pipecat/services/google/gemini_live/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/services/google/gemini_live/llm.py b/src/pipecat/services/google/gemini_live/llm.py index 18b2c2e8a..3e282e7ee 100644 --- a/src/pipecat/services/google/gemini_live/llm.py +++ b/src/pipecat/services/google/gemini_live/llm.py @@ -794,7 +794,7 @@ class GeminiLiveLLMService(LLMService): self._last_sent_time = 0 self._base_url = base_url - self._system_instruction_from_init = system_instruction + self._system_instruction_from_init = self._settings.system_instruction self._tools_from_init = tools self._inference_on_context_initialization = inference_on_context_initialization self._needs_initial_turn_complete_message = False