From a71f937e8f2b11d9e519b262f452915ea90e9900 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Tue, 30 Sep 2025 08:49:30 -0400 Subject: [PATCH] Update AnthropicLLMService to use claude-sonnet-4-5-20250929 --- CHANGELOG.md | 5 +++++ src/pipecat/services/anthropic/llm.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c928028f..05a53fc44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Include OpenAI-based LLM services cached tokens to `MetricsFrame`. +### Changed + +- Updated the default model for `AnthropicLLMService` to + `claude-sonnet-4-5-20250929`. + ## Fixed - Fixed an issue where local SmartTurn was not being ran in a separate thread. diff --git a/src/pipecat/services/anthropic/llm.py b/src/pipecat/services/anthropic/llm.py index b5328be50..0adc2a0d1 100644 --- a/src/pipecat/services/anthropic/llm.py +++ b/src/pipecat/services/anthropic/llm.py @@ -151,7 +151,7 @@ class AnthropicLLMService(LLMService): self, *, api_key: str, - model: str = "claude-sonnet-4-20250514", + model: str = "claude-sonnet-4-5-20250929", params: Optional[InputParams] = None, client=None, retry_timeout_secs: Optional[float] = 5.0, @@ -162,7 +162,7 @@ class AnthropicLLMService(LLMService): Args: api_key: Anthropic API key for authentication. - model: Model name to use. Defaults to "claude-sonnet-4-20250514". + model: Model name to use. Defaults to "claude-sonnet-4-5-20250929". params: Optional model parameters for inference. client: Optional custom Anthropic client instance. retry_timeout_secs: Request timeout in seconds for retry logic.