[PR #4886] docs: Update 1-build-basic-chatbot.md to add a section about END node #4119

Closed
opened 2026-02-20 17:49:41 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/4886

State: closed
Merged: Yes


The current Build a basic chatbot tutorial shows a graph diagram that includes both a START and an END node. However, the tutorial does not define or mention the END node at all, which may cause confusion.

Running the code as-is from the current version of this tutorial does not produce a graph matching the image shown in the tutorial.

This PR adds documentation and code for adding the END node as well. The alternative was to update the image, but it might be more valuable to show users how to add an exit point explicitly.

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/4886 **State:** closed **Merged:** Yes --- The current [Build a basic chatbot](https://langchain-ai.github.io/langgraph/tutorials/get-started/1-build-basic-chatbot/) tutorial shows a graph diagram that includes both a `START` and an `END` node. However, the tutorial does not define or mention the END node at all, which may cause confusion. Running the code as-is from the current version of this tutorial does not produce a graph matching the image shown in the tutorial. This PR adds documentation and code for adding the `END` node as well. The alternative was to update the image, but it might be more valuable to show users how to add an exit point explicitly.
yindo added the pull-request label 2026-02-20 17:49:41 -05:00
yindo closed this issue 2026-02-20 17:49:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#4119