Essay Writer - End is not implemented

In the essay writer lab, If you hit “generate essay” UI button after all iterations have been completed, there is an error message displayed in the UI.

In the notebook, the error that shows is:

File “/usr/local/lib/python3.11/site-packages/langgraph/pregel/”, line 804, in stream
raise ValueError(“No tasks to run in graph.”)
ValueError: No tasks to run in graph.

Seems that the “End” node is not correctly set?