From 5431c44e519cc6f70a1f4d8deb0a6b92a3b96695 Mon Sep 17 00:00:00 2001 From: Kwindla Hultman Kramer Date: Mon, 14 Oct 2024 21:01:20 -0700 Subject: [PATCH] remove two debug lines --- src/pipecat/services/anthropic.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pipecat/services/anthropic.py b/src/pipecat/services/anthropic.py index fd0cc6e92..a87ed9423 100644 --- a/src/pipecat/services/anthropic.py +++ b/src/pipecat/services/anthropic.py @@ -532,13 +532,11 @@ class AnthropicLLMContext(OpenAILLMContext): def _restructure_from_openai_messages(self): # first, map across self._messages calling self.from_standard_message(m) to modify messages in place - logger.debug("!!! mapping") try: self._messages[:] = [self.from_standard_message(m) for m in self._messages] except Exception as e: logger.error(f"Error mapping messages: {e}") - logger.debug("!!! restructuring system thingy") # See if we should pull the system message out of our context.messages list. (For # compatibility with Open AI messages format.) if self.messages and self.messages[0]["role"] == "system":