From c4d0f91a7fbed227b4c5ae80382a0cfeb9957389 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Tue, 6 May 2025 09:53:12 -0400 Subject: [PATCH] [WIP] AWS Nova Sonic service - remove some old code that was accidentally still there, possibly sending a duplicate system instruction --- src/pipecat/services/aws_nova_sonic/aws.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pipecat/services/aws_nova_sonic/aws.py b/src/pipecat/services/aws_nova_sonic/aws.py index e5df20e66..aa44beb60 100644 --- a/src/pipecat/services/aws_nova_sonic/aws.py +++ b/src/pipecat/services/aws_nova_sonic/aws.py @@ -335,13 +335,6 @@ class AWSNovaSonicLLMService(LLMService): for message in history.messages: await self._send_text_event(text=message.text, role=message.role) - # Send initial context (system instruction and conversation history) - # TODO: finish implementing - # - pass additional message(s) - # - merge init-passed system instruction + context instruction (latter takes precedence) - # - merge init-passed tools + context tools (latter takes precedence) - await self._send_text_event(text=self._system_instruction, role=Role.SYSTEM) - # Start audio input await self._send_audio_input_start_event()