Skip to content

Commit 1b73785

Browse files
authored
fix(tests): anthropic dropped haiku 3.5 (#826)
## Description <!-- What does this PR do? --> Fix for the integration tests ## PR Type <!-- Delete the types that don't apply --> - 🚦 Infrastructure ## Relevant issues <!-- e.g. "Fixes #123" --> ## Checklist <!-- If this checklist is deleted from the PR submission it will be immediately closed --> - [ ] I understand the code I am submitting. - [ ] I have added unit tests that prove my fix/feature works - [ ] I have run this code locally and verified it fixes the issue. - [ ] New and existing tests pass locally - [ ] Documentation was updated where necessary - [ ] I have read and followed the [contribution guidelines](https://github.com/mozilla-ai/any-llm/blob/main/CONTRIBUTING.md) - [ ] **AI Usage:** - [ ] No AI was used. - [ ] AI was used for drafting/refactoring. - [ ] This is fully AI-generated. ## AI Usage Information <!-- We welcome the use of AI to aid in contribution! Optional: We're interested in hearing about your setup. What LLM are you using (e.g. Opus 4.5, GPT-5, Minimax), and which tooling (Claude Code, VsCode, OpenCode, etc) --> - AI Model used: - AI Developer Tool used: - Any other info you'd like to share: When answering questions by the reviewer, please respond yourself, do not copy/paste the reviewer comments into an AI system and paste back its answer. We want to discuss with you, not your AI :) - [ ] I am an AI Agent filling out this form (check box if true)
1 parent 4587ab1 commit 1b73785

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@pytest.fixture
1313
def provider_reasoning_model_map() -> dict[LLMProvider, str]:
1414
return {
15-
LLMProvider.ANTHROPIC: "claude-sonnet-4-20250514",
15+
LLMProvider.ANTHROPIC: "claude-sonnet-4-0",
1616
LLMProvider.MISTRAL: "magistral-small-latest",
1717
LLMProvider.GEMINI: "gemini-2.5-flash",
1818
LLMProvider.GATEWAY: "gpt-5-nano",
@@ -49,7 +49,7 @@ def provider_reasoning_model_map() -> dict[LLMProvider, str]:
4949
def provider_model_map() -> dict[LLMProvider, str]:
5050
return {
5151
LLMProvider.MISTRAL: "mistral-small-latest",
52-
LLMProvider.ANTHROPIC: "claude-3-5-haiku-latest",
52+
LLMProvider.ANTHROPIC: "claude-haiku-4-5",
5353
LLMProvider.DEEPSEEK: "deepseek-chat",
5454
LLMProvider.OPENAI: "gpt-5-nano",
5555
LLMProvider.GATEWAY: "gpt-5-nano",

tests/integration/test_platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async def test_platform_provider_parallel_requests(platform_provider_openai: Pla
112112
("provider", "model", "expected_provider_name"),
113113
[
114114
(LLMProvider.OPENAI, "gpt-5-nano", "openai"),
115-
(LLMProvider.ANTHROPIC, "claude-3-5-haiku-latest", "anthropic"),
115+
(LLMProvider.ANTHROPIC, "claude-haiku-4-5", "anthropic"),
116116
(LLMProvider.GEMINI, "gemini-3-flash-preview", "gemini"),
117117
],
118118
)

0 commit comments

Comments
 (0)