Merge pull request #3976 from pipecat-ai/aleix/fix-google-system-instruction-priority

Fix Google LLM system instruction priority
This commit is contained in:
Aleix Conchillo Flaqué
2026-03-10 10:48:28 -07:00
committed by GitHub
2 changed files with 12 additions and 7 deletions

1
changelog/3976.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed `GoogleLLMService` ignoring the `system_instruction` set via constructor or `GoogleLLMSettings` when a system message was also present in the context. The settings value now correctly takes priority, and a warning is logged when both are set.