From 3672bbc71e098861de11ff159f8523d0e7971834 Mon Sep 17 00:00:00 2001 From: ccurme Date: Tue, 22 Jul 2025 16:51:39 -0300 Subject: [PATCH] fix(anthropic): update integration test models (#32189) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Multiple models were [retired](https://docs.anthropic.com/en/docs/about-claude/model-deprecations#model-status) yesterday. Tests remain broken until we figure out what to do with the legacy Anthropic LLM integration— currently uses their (legacy) text completions API, for which there appear to be no remaining supported models. --- .../anthropic/tests/integration_tests/test_experimental.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/partners/anthropic/tests/integration_tests/test_experimental.py b/libs/partners/anthropic/tests/integration_tests/test_experimental.py index f12dfdbd002..5c09118534f 100644 --- a/libs/partners/anthropic/tests/integration_tests/test_experimental.py +++ b/libs/partners/anthropic/tests/integration_tests/test_experimental.py @@ -9,8 +9,8 @@ from pydantic import BaseModel, Field from langchain_anthropic.experimental import ChatAnthropicTools -MODEL_NAME = "claude-3-sonnet-20240229" -BIG_MODEL_NAME = "claude-3-opus-20240229" +MODEL_NAME = "claude-3-5-haiku-latest" +BIG_MODEL_NAME = "claude-opus-4-20250514" ##################################### ### Test Basic features, no tools ###