From 7a26c3d2338073202a5d8e48a528e7921738df75 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Mon, 28 Jul 2025 12:57:40 -0400 Subject: [PATCH] fix: update `bar_model` to use the correct model version `claude-3-7-sonnet-20250219` (#32284) --- libs/langchain/tests/integration_tests/chat_models/test_base.py | 2 +- .../tests/integration_tests/chat_models/test_base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langchain/tests/integration_tests/chat_models/test_base.py b/libs/langchain/tests/integration_tests/chat_models/test_base.py index 4d87b98dfaf..05d3e009387 100644 --- a/libs/langchain/tests/integration_tests/chat_models/test_base.py +++ b/libs/langchain/tests/integration_tests/chat_models/test_base.py @@ -25,7 +25,7 @@ async def test_init_chat_model_chain() -> None: model_with_config = model_with_tools.with_config( RunnableConfig(tags=["foo"]), - configurable={"bar_model": "claude-3-sonnet-20240229"}, + configurable={"bar_model": "claude-3-7-sonnet-20250219"}, ) prompt = ChatPromptTemplate.from_messages([("system", "foo"), ("human", "{input}")]) chain = prompt | model_with_config diff --git a/libs/langchain_v1/tests/integration_tests/chat_models/test_base.py b/libs/langchain_v1/tests/integration_tests/chat_models/test_base.py index 4d87b98dfaf..05d3e009387 100644 --- a/libs/langchain_v1/tests/integration_tests/chat_models/test_base.py +++ b/libs/langchain_v1/tests/integration_tests/chat_models/test_base.py @@ -25,7 +25,7 @@ async def test_init_chat_model_chain() -> None: model_with_config = model_with_tools.with_config( RunnableConfig(tags=["foo"]), - configurable={"bar_model": "claude-3-sonnet-20240229"}, + configurable={"bar_model": "claude-3-7-sonnet-20250219"}, ) prompt = ChatPromptTemplate.from_messages([("system", "foo"), ("human", "{input}")]) chain = prompt | model_with_config