Update AnthropicLLMService to use claude-sonnet-4-5-20250929
This commit is contained in:
@@ -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`.
|
- Include OpenAI-based LLM services cached tokens to `MetricsFrame`.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Updated the default model for `AnthropicLLMService` to
|
||||||
|
`claude-sonnet-4-5-20250929`.
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
|
|
||||||
- Fixed an issue where local SmartTurn was not being ran in a separate thread.
|
- Fixed an issue where local SmartTurn was not being ran in a separate thread.
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ class AnthropicLLMService(LLMService):
|
|||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
api_key: str,
|
api_key: str,
|
||||||
model: str = "claude-sonnet-4-20250514",
|
model: str = "claude-sonnet-4-5-20250929",
|
||||||
params: Optional[InputParams] = None,
|
params: Optional[InputParams] = None,
|
||||||
client=None,
|
client=None,
|
||||||
retry_timeout_secs: Optional[float] = 5.0,
|
retry_timeout_secs: Optional[float] = 5.0,
|
||||||
@@ -162,7 +162,7 @@ class AnthropicLLMService(LLMService):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
api_key: Anthropic API key for authentication.
|
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.
|
params: Optional model parameters for inference.
|
||||||
client: Optional custom Anthropic client instance.
|
client: Optional custom Anthropic client instance.
|
||||||
retry_timeout_secs: Request timeout in seconds for retry logic.
|
retry_timeout_secs: Request timeout in seconds for retry logic.
|
||||||
|
|||||||
Reference in New Issue
Block a user