mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 14:36:54 +00:00
fix: update bar_model
to use the correct model version claude-3-7-sonnet-20250219
(#32284)
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user