DOC: NameError due to undefined supervisor_chain in agent_supervisor.ipynb #219

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

Originally created by @ggeutzzang on GitHub (Aug 31, 2024).

Issue with current documentation:

When running the Jupyter notebook file agent_supervisor.ipynb located in examples/multi_agent/, I encountered a NameError. The error occurs in the following cell:

workflow.add_node("Researcher", research_node)
workflow.add_node("Coder", code_node)
workflow.add_node("supervisor", supervisor_chain)
NameError                                 Traceback (most recent call last)
Cell In[8], line 29
     27 workflow.add_node("Researcher", research_node)
     28 workflow.add_node("Coder", code_node)
---> 29 workflow.add_node("supervisor", supervisor_chain)

NameError: name 'supervisor_chain' is not defined

Idea or request for content:

No response

Originally created by @ggeutzzang on GitHub (Aug 31, 2024). ### Issue with current documentation: When running the Jupyter notebook file agent_supervisor.ipynb located in examples/multi_agent/, I encountered a NameError. The error occurs in the following cell: ```python workflow.add_node("Researcher", research_node) workflow.add_node("Coder", code_node) workflow.add_node("supervisor", supervisor_chain) ``` ``` NameError Traceback (most recent call last) Cell In[8], line 29 27 workflow.add_node("Researcher", research_node) 28 workflow.add_node("Coder", code_node) ---> 29 workflow.add_node("supervisor", supervisor_chain) NameError: name 'supervisor_chain' is not defined ``` ### Idea or request for content: _No response_
yindo closed this issue 2026-02-20 17:32:21 -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#219