diff --git a/src/pipecat/services/google/gemini_live/llm.py b/src/pipecat/services/google/gemini_live/llm.py index c7e4827df..317ed034d 100644 --- a/src/pipecat/services/google/gemini_live/llm.py +++ b/src/pipecat/services/google/gemini_live/llm.py @@ -1142,8 +1142,9 @@ class GeminiLiveLLMService(LLMService): params = adapter.get_llm_invocation_params(self._context) system_instruction = params["system_instruction"] tools = params["tools"] - else: + if not system_instruction: system_instruction = self._system_instruction_from_init + if not tools: tools = adapter.from_standard_tools(self._tools_from_init) if system_instruction: logger.debug(f"Setting system instruction: {system_instruction}")