-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running in Firebase Function #472
Comments
Follow-up: Looks like the issue is what the way nodes are defined. This works fine in LangGraph Studio, but fails at run-time when I hook it up to a Firebase Function. It seems like the graph doesn't like the way the node is defined, which is odd because I am following the docs. Is there something I am missing? Node:
Simplified Example: ❌ FAILS
✅ SUCEEDS
|
Sorry for the delay - this is pretty odd. It should accept a function. Logging Is there anything unique about Firebase Functions as a runtime? |
They are just using NodeJS runtime although you can control which NodeJS version. I wonder if its specific to a NodeJS version? @objectiveSee what version of NodeJS are you using in your firebase functions? |
This is running on node 22. What version have you been using? Have you gotten this to work? |
Try adding |
I am getting run-time error when trying to run LangGraph inside a Firebase function.
Firebase Function:
Workflow:
Error:
Any thoughts on why this might happen? My code worked with LangGraph studio. I've tried two ways of doing this: 1) the workflow is compiled at script start time, and 2) on demand via getWorkflow(). Both fail with same error.
Thanks
Packages:
The text was updated successfully, but these errors were encountered: