diff --git a/src/pipecat/services/aws/llm.py b/src/pipecat/services/aws/llm.py index 2cca54c52..fa33e26b3 100644 --- a/src/pipecat/services/aws/llm.py +++ b/src/pipecat/services/aws/llm.py @@ -310,7 +310,7 @@ class BedrockLLMContext(OpenAILLMContext): # in the proper format if isinstance(self.messages[-1]["content"], str): self.messages[-1]["content"] = [ - {"type": "text", "text": self.messages[-1]["content"]} + {"text": self.messages[-1]["content"]} ] # if this message has just a content string, convert it to a list # in the proper format