Sharing LLM Instances Between Nodes in LangGraph #1756
Unanswered
BharathKumarRavichandran
asked this question in
Q&A
Replies: 1 comment 4 replies
-
In the vast majority of cases it's fine to share between nodes. I do that fairly often. |
Beta Was this translation helpful? Give feedback.
4 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.
-
Hello,
I'm currently exploring LangGraph and have a couple of questions. Suppose I have a graph with two nodes (agents) that perform different operations, but I'm using the same LLM model for both agents. Should I use a single LLM instance for both agents or create separate instances for each? Does sharing the same LLM instance between the two nodes potentially cause interference between them?
Beta Was this translation helpful? Give feedback.
All reactions