mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 17:31:15 -04:00
Bump Anthropic to 0.125.0 (#182976)
This commit is contained in:
@@ -63,7 +63,6 @@ from anthropic.types import (
|
||||
ToolParam,
|
||||
ToolSearchToolBm25_20251119Param,
|
||||
ToolSearchToolResultBlock,
|
||||
ToolUnionParam,
|
||||
ToolUseBlock,
|
||||
ToolUseBlockParam,
|
||||
Usage,
|
||||
@@ -1010,7 +1009,15 @@ class AnthropicBaseLLMEntity(CoordinatorEntity[AnthropicCoordinator]):
|
||||
effort=options[CONF_THINKING_EFFORT]
|
||||
)
|
||||
|
||||
tools: list[ToolUnionParam] = []
|
||||
tools: list[
|
||||
ToolParam
|
||||
| CodeExecutionTool20250825Param
|
||||
| WebSearchTool20250305Param
|
||||
| WebSearchTool20260209Param
|
||||
| WebFetchTool20250910Param
|
||||
| WebFetchTool20260209Param
|
||||
| ToolSearchToolBm25_20251119Param
|
||||
] = []
|
||||
if chat_log.llm_api:
|
||||
tools = [
|
||||
_format_tool(tool, chat_log.llm_api.custom_serializer)
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
"integration_type": "service",
|
||||
"iot_class": "cloud_polling",
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["anthropic==0.108.0"]
|
||||
"requirements": ["anthropic==0.125.0"]
|
||||
}
|
||||
|
||||
Generated
+1
-1
@@ -549,7 +549,7 @@ anova-wifi==1.0.1
|
||||
anthemav==1.4.2
|
||||
|
||||
# homeassistant.components.anthropic
|
||||
anthropic==0.108.0
|
||||
anthropic==0.125.0
|
||||
|
||||
# homeassistant.components.mcp_server
|
||||
anyio==4.14.2
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
'native': dict({
|
||||
'citation_details': list([
|
||||
]),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc)),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc), skills=None),
|
||||
'redacted_thinking': None,
|
||||
'thinking_signature': None,
|
||||
}),
|
||||
@@ -154,7 +154,7 @@
|
||||
'native': dict({
|
||||
'citation_details': list([
|
||||
]),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc)),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc), skills=None),
|
||||
'redacted_thinking': None,
|
||||
'thinking_signature': None,
|
||||
}),
|
||||
@@ -1137,7 +1137,7 @@
|
||||
'native': dict({
|
||||
'citation_details': list([
|
||||
]),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc)),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc), skills=None),
|
||||
'redacted_thinking': None,
|
||||
'thinking_signature': None,
|
||||
}),
|
||||
@@ -1245,7 +1245,7 @@
|
||||
'native': dict({
|
||||
'citation_details': list([
|
||||
]),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc)),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc), skills=None),
|
||||
'redacted_thinking': None,
|
||||
'thinking_signature': None,
|
||||
}),
|
||||
@@ -1356,7 +1356,7 @@
|
||||
'native': dict({
|
||||
'citation_details': list([
|
||||
]),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc)),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc), skills=None),
|
||||
'redacted_thinking': None,
|
||||
'thinking_signature': None,
|
||||
}),
|
||||
@@ -1457,7 +1457,7 @@
|
||||
'native': dict({
|
||||
'citation_details': list([
|
||||
]),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc)),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc), skills=None),
|
||||
'redacted_thinking': None,
|
||||
'thinking_signature': None,
|
||||
}),
|
||||
@@ -2449,7 +2449,7 @@
|
||||
'native': dict({
|
||||
'citation_details': list([
|
||||
]),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc)),
|
||||
'container': Container(id='container_1234567890ABCDEFGHIJKLMN', expires_at=HAFakeDatetime(2025, 10, 31, 12, 5, tzinfo=datetime.timezone.utc), skills=None),
|
||||
'redacted_thinking': None,
|
||||
'thinking_signature': None,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user