From 2154db07f085e92aab4ef99b45a438dc316088cd Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Wed, 30 Apr 2025 15:10:10 -0400 Subject: [PATCH] [WIP] AWS Nova Sonic service - remove unnecessary error log --- src/pipecat/services/aws_nova_sonic/context.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pipecat/services/aws_nova_sonic/context.py b/src/pipecat/services/aws_nova_sonic/context.py index e4662ee57..4b41b53b3 100644 --- a/src/pipecat/services/aws_nova_sonic/context.py +++ b/src/pipecat/services/aws_nova_sonic/context.py @@ -98,9 +98,8 @@ class AWSNovaSonicLLMContext(OpenAILLMContext): # history if content: return AWSNovaSonicConversationHistoryMessage(role=Role[role.upper()], text=content) - # We're ignoring messages with role "tool" since they can't be loaded into AWS Nova Sonic - # conversation history - logger.error(f"Unhandled message type in from_standard_message: {message}") + # NOTE: we're ignoring messages with role "tool" since they can't be loaded into AWS Nova + # Sonic conversation history def add_user_transcription_text_as_message(self, text): message = {