This commit is contained in:
Nuno Campos
2025-04-08 14:15:13 -07:00
parent cbbfaba1fd
commit b76dc8ae0a
+2 -2
View File
@@ -5533,8 +5533,8 @@ async def test_subgraph_checkpoint_true_interrupt(
def node_1(state: ParentState):
return {"foo": "hi! " + state["foo"]}
async def node_2(state: ParentState):
response = await subgraph.ainvoke({"bar": state["foo"]})
async def node_2(state: ParentState, config: RunnableConfig):
response = await subgraph.ainvoke({"bar": state["foo"]}, config)
return {"foo": response["bar"]}
builder = StateGraph(ParentState)