The End node is a crucial component in the Sequential Agents workflow. It signifies the termination point of a conversation or process flow. This node is used to explicitly define where a sequence of operations should conclude.
Label | Name | Type |
---|---|---|
Agent | Condition | LLM | Tool Node | sequentialNode | Agent | Condition | LLMNode | ToolNode |
ISeqAgentNode
.
ISeqAgentNode
object with the following properties:
id
: The unique identifier of the node
node
: Set to the constant END
name
: Set to the constant END
label
: Set to the constant END
type
: Set to ‘end’
output
: Set to the constant END
predecessorAgents
: An array containing the input sequential node
End_SeqAgents
.
INode
interface.
init
method is responsible for processing the input and generating the output.
END
constant from the @langchain/langgraph
package to signify the termination point.
hideOutput
property is set to true
, indicating that the node’s output should not be displayed in the user interface.