diff --git a/src/pipecat/services/anthropic.py b/src/pipecat/services/anthropic.py index f0c033375..1e1660207 100644 --- a/src/pipecat/services/anthropic.py +++ b/src/pipecat/services/anthropic.py @@ -154,8 +154,6 @@ async def _process_context(self, context: OpenAILLMContext): messages = context.get_messages_with_cache_control_markers() api_call = self._client.messages.create - if self._settings["enable_prompt_caching_beta"]: - api_call = self._client.beta.prompt_caching.messages.create await self.start_ttfb_metrics()