mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-20 06:35:46 +02:00
Fix test
This commit is contained in:
@@ -2005,6 +2005,8 @@ def test_conditional_graph(
|
||||
)
|
||||
if data.get("intermediate_steps") is None:
|
||||
data["intermediate_steps"] = []
|
||||
else:
|
||||
data["intermediate_steps"] = data["intermediate_steps"].copy()
|
||||
data["intermediate_steps"].append([agent_action, observation])
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user