Graph hangs in "pending state" in LangGraph Studio when using Google LLM ( ChatGoogleGenerativeAI ) #4187
Unanswered
JulianAlvarezdeGiorgi
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Are there errors in your terminal? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Same issue |
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.
-
❗️Issue: Graph hangs in "pending state" in LangGraph Studio when using Google LLM
Summary
When using a Google LLM (ChatGoogleGenerativeAI) in my graph, the graph enters a "pending state" and never resolves when submitting messages in LangGraph Studio. However, when using the same graph outside of Studio, everything works fine.
Environment
create_react_agent
used to build the graphCode Snippet
Behavior Observed
Screenshot: Pending State in LangGraph Studio
Below is a screenshot showing the issue — the graph is stuck in a pending state, and the "Join run" button appears but doesn't resolve the run, it keeps running forever after pressing it:
Troubleshooting Done
Hypothesis
This issue seems related to compatibility between LangGraph Studio’s execution environment and the Google LLM (Gemini). Possible causes might include:
Expected Behavior
The graph should execute normally inside LangGraph Studio, just as it does outside, regardless of the LLM provider (Google or Groq).
Any help or insights would be greatly appreciated! 🙏
Beta Was this translation helpful? Give feedback.
All reactions