DOC: Missing import in langgraph/examples/docs/quickstart.ipynb #208

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

Originally created by @danwild on GitHub (Aug 25, 2024).

Issue with current documentation:

I'm new here, so I started with: https://github.com/danwild/langgraph/blob/main/examples/docs/quickstart.ipynb

The 3rd python cell fails to import START from langgraph.graph before it's used, which breaks notebook execution.

NameError                                 Traceback (most recent call last)
Cell In[6], [line 14](vscode-notebook-cell:?execution_count=6&line=14)
     [10](vscode-notebook-cell:?execution_count=6&line=10) graph.add_node("oracle", model)
     [11](vscode-notebook-cell:?execution_count=6&line=11) graph.add_edge("oracle", END)
---> [14](vscode-notebook-cell:?execution_count=6&line=14) graph.add_edge(START, "oracle")
     [16](vscode-notebook-cell:?execution_count=6&line=16) runnable = graph.compile()

NameError: name 'START' is not defined
Screenshot 2024-08-26 at 12 30 49 pm

Idea or request for content:

No response

Originally created by @danwild on GitHub (Aug 25, 2024). ### Issue with current documentation: I'm new here, so I started with: https://github.com/danwild/langgraph/blob/main/examples/docs/quickstart.ipynb The 3rd python cell fails to import `START` from `langgraph.graph` before it's used, which breaks notebook execution. ``` NameError Traceback (most recent call last) Cell In[6], [line 14](vscode-notebook-cell:?execution_count=6&line=14) [10](vscode-notebook-cell:?execution_count=6&line=10) graph.add_node("oracle", model) [11](vscode-notebook-cell:?execution_count=6&line=11) graph.add_edge("oracle", END) ---> [14](vscode-notebook-cell:?execution_count=6&line=14) graph.add_edge(START, "oracle") [16](vscode-notebook-cell:?execution_count=6&line=16) runnable = graph.compile() NameError: name 'START' is not defined ``` <img width="668" alt="Screenshot 2024-08-26 at 12 30 49 pm" src="https://github.com/user-attachments/assets/9a696144-f29c-40d0-ade3-bd48dfc62dce"> ### Idea or request for content: _No response_
yindo closed this issue 2026-02-20 17:31:51 -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#208