mirror of
https://github.com/langchain-ai/langgraph-supervisor-js.git
synced 2026-07-01 16:21:20 -04:00
render subgraphs
This commit is contained in:
+4
-1
@@ -187,7 +187,10 @@ const createSupervisor = <
|
||||
for (const agent of agents) {
|
||||
builder.addNode(
|
||||
agent.name as string,
|
||||
makeCallAgent(agent, outputMode, addHandoffBackMessages, supervisorName)
|
||||
makeCallAgent(agent, outputMode, addHandoffBackMessages, supervisorName),
|
||||
{
|
||||
subgraphs: [agent],
|
||||
}
|
||||
);
|
||||
builder.addEdge(agent.name as string, supervisorAgent.name as string);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user