mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 06:05:26 +01:00
Bump anthropic to 0.75.0 (#157491)
This commit is contained in:
@@ -421,6 +421,8 @@ class ConversationSubentryFlowHandler(ConfigSubentryFlow):
|
||||
)
|
||||
if short_form.search(model_alias):
|
||||
model_alias += "-0"
|
||||
if model_alias.endswith(("haiku", "opus", "sonnet")):
|
||||
model_alias += "-latest"
|
||||
model_options.append(
|
||||
SelectOptionDict(
|
||||
label=model_info.display_name,
|
||||
|
||||
@@ -8,5 +8,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/anthropic",
|
||||
"integration_type": "service",
|
||||
"iot_class": "cloud_polling",
|
||||
"requirements": ["anthropic==0.73.0"]
|
||||
"requirements": ["anthropic==0.75.0"]
|
||||
}
|
||||
|
||||
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@@ -504,7 +504,7 @@ anova-wifi==0.17.0
|
||||
anthemav==1.4.1
|
||||
|
||||
# homeassistant.components.anthropic
|
||||
anthropic==0.73.0
|
||||
anthropic==0.75.0
|
||||
|
||||
# homeassistant.components.mcp_server
|
||||
anyio==4.10.0
|
||||
|
||||
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@@ -480,7 +480,7 @@ anova-wifi==0.17.0
|
||||
anthemav==1.4.1
|
||||
|
||||
# homeassistant.components.anthropic
|
||||
anthropic==0.73.0
|
||||
anthropic==0.75.0
|
||||
|
||||
# homeassistant.components.mcp_server
|
||||
anyio==4.10.0
|
||||
|
||||
@@ -128,6 +128,12 @@ async def mock_init_component(
|
||||
"""Initialize integration."""
|
||||
model_list = AsyncPage(
|
||||
data=[
|
||||
ModelInfo(
|
||||
id="claude-opus-4-5-20251101",
|
||||
created_at=datetime.datetime(2025, 11, 1, 0, 0, tzinfo=datetime.UTC),
|
||||
display_name="Claude Opus 4.5",
|
||||
type="model",
|
||||
),
|
||||
ModelInfo(
|
||||
id="claude-haiku-4-5-20251001",
|
||||
created_at=datetime.datetime(2025, 10, 15, 0, 0, tzinfo=datetime.UTC),
|
||||
|
||||
@@ -357,6 +357,10 @@ async def test_model_list(
|
||||
assert options["type"] == FlowResultType.FORM
|
||||
assert options["step_id"] == "advanced"
|
||||
assert options["data_schema"].schema["chat_model"].config["options"] == [
|
||||
{
|
||||
"label": "Claude Opus 4.5",
|
||||
"value": "claude-opus-4-5",
|
||||
},
|
||||
{
|
||||
"label": "Claude Haiku 4.5",
|
||||
"value": "claude-haiku-4-5",
|
||||
@@ -379,11 +383,11 @@ async def test_model_list(
|
||||
},
|
||||
{
|
||||
"label": "Claude Sonnet 3.7",
|
||||
"value": "claude-3-7-sonnet",
|
||||
"value": "claude-3-7-sonnet-latest",
|
||||
},
|
||||
{
|
||||
"label": "Claude Haiku 3.5",
|
||||
"value": "claude-3-5-haiku",
|
||||
"value": "claude-3-5-haiku-latest",
|
||||
},
|
||||
{
|
||||
"label": "Claude Haiku 3",
|
||||
|
||||
Reference in New Issue
Block a user