Update default model for Anthropic to Claude Sonnet 4

This commit is contained in:
Mark Backman
2025-05-22 15:13:33 -04:00
parent f93bd1e817
commit ca0d7bbbed
2 changed files with 4 additions and 1 deletions

View File

@@ -73,6 +73,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Updated the default model for `AnthropicLLMService` to
`claude-sonnet-4-20250514`.
- `BaseTextFilter` methods `filter()`, `update_settings()`,
`handle_interruption()` and `reset_interruption()` are now async.

View File

@@ -90,7 +90,7 @@ class AnthropicLLMService(LLMService):
self,
*,
api_key: str,
model: str = "claude-3-7-sonnet-20250219",
model: str = "claude-sonnet-4-20250514",
params: Optional[InputParams] = None,
client=None,
**kwargs,