Solution ready for publishing: update main.py
This commit is contained in:
@@ -107,7 +107,7 @@ builder.add_conditional_edges(
|
|||||||
builder.add_conditional_edges(
|
builder.add_conditional_edges(
|
||||||
"rewrite",
|
"rewrite",
|
||||||
lambda state: "reflect" if state["round"] < state["max_rounds"] else END,
|
lambda state: "reflect" if state["round"] < state["max_rounds"] else END,
|
||||||
{"reflect": "reflect", "END": END}
|
{"reflect": "reflect", END: END}
|
||||||
)
|
)
|
||||||
|
|
||||||
graph = builder.compile()
|
graph = builder.compile()
|
||||||
|
|||||||
Reference in New Issue
Block a user