fix: update bar_model to use the correct model version claude-3-7-sonnet-20250219 (#32284)

This commit is contained in:
Mason Daugherty 2025-07-28 12:57:40 -04:00 committed by GitHub
parent c6ffac3ce0
commit 7a26c3d233
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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