Replies: 1 comment
-
The behaviour seems to be unintended: langchain-ai/langchain#28411 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When compiling a sub-graph within a larger graph, under specific conditions, the START and END nodes of the sub-graph are included in the larger graph. When the START or END nodes have more than 1 edge outgoing or incoming, respectively, the nodes are included. They are omitted otherwise. Is this intended behaviour? I assume so, as it adds clarity to the fully compiled graph. However I assume there is some kind of performance impact with adding redundant nodes. Would an optional flag to disable the redunadant organizational nodes when compiling be a good idea?
This is inspired by this issue:
/issues/1676
Beta Was this translation helpful? Give feedback.
All reactions