mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-06 19:48:26 +00:00
fix: update bar_model
to use the correct model version claude-3-7-sonnet-20250219
(#32284)
This commit is contained in:
parent
c6ffac3ce0
commit
7a26c3d233
@ -25,7 +25,7 @@ async def test_init_chat_model_chain() -> None:
|
|||||||
|
|
||||||
model_with_config = model_with_tools.with_config(
|
model_with_config = model_with_tools.with_config(
|
||||||
RunnableConfig(tags=["foo"]),
|
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}")])
|
prompt = ChatPromptTemplate.from_messages([("system", "foo"), ("human", "{input}")])
|
||||||
chain = prompt | model_with_config
|
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(
|
model_with_config = model_with_tools.with_config(
|
||||||
RunnableConfig(tags=["foo"]),
|
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}")])
|
prompt = ChatPromptTemplate.from_messages([("system", "foo"), ("human", "{input}")])
|
||||||
chain = prompt | model_with_config
|
chain = prompt | model_with_config
|
||||||
|
Loading…
Reference in New Issue
Block a user