mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-08 02:37:52 +02:00
Add (failing) test for drawing cyclic edge
- fix waiting for new release of langchain-core
This commit is contained in:
@@ -1434,6 +1434,9 @@
|
||||
'''
|
||||
graph TD;
|
||||
__start__ --> Researcher;
|
||||
subgraph Researcher
|
||||
Researcher -. redo .-> Researcher;
|
||||
end
|
||||
Researcher -. continue .-> Chart_Generator;
|
||||
Researcher -. call_tool .-> Call_Tool;
|
||||
Researcher -. end .-> __end__;
|
||||
|
||||
@@ -4653,7 +4653,12 @@ def test_repeat_condition(snapshot: SnapshotAssertion) -> None:
|
||||
workflow.add_conditional_edges(
|
||||
"Researcher",
|
||||
router,
|
||||
{"continue": "Chart Generator", "call_tool": "Call Tool", "end": END},
|
||||
{
|
||||
"redo": "Researcher",
|
||||
"continue": "Chart Generator",
|
||||
"call_tool": "Call Tool",
|
||||
"end": END,
|
||||
},
|
||||
)
|
||||
workflow.add_conditional_edges(
|
||||
"Chart Generator",
|
||||
|
||||
Reference in New Issue
Block a user