You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to follow the langgraph documentation and create a basic graph as below. The main caveat of my graph is that I don't have an LLM, but just make API calls that aggregate as a response. The problem I'm facing is with writing awaitable Actions to make the API calls in the graph nodes.
NOTE: This same code works if I change it to its non-awaited counterparts.
Reproducible code is attached.
Error: Dispatcher.dispatch_forever..() got an unexpected keyword argument 'context'
The error happens when I hit the app.ainvoke(), and as mentioned in the note, the code works perfectly fine if I don't await anything.
Any help would greatly be appreciated, Thank you :)
System Info
System Information
OS: Windows
OS Version: 10.0.19045
Python Version: 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:26:23) [MSC v.1916 64 bit (AMD64)]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Hello, I'm trying to follow the langgraph documentation and create a basic graph as below. The main caveat of my graph is that I don't have an LLM, but just make API calls that aggregate as a response. The problem I'm facing is with writing awaitable Actions to make the API calls in the graph nodes.
NOTE: This same code works if I change it to its non-awaited counterparts.
Reproducible code is attached.
Error: Dispatcher.dispatch_forever..() got an unexpected keyword argument 'context'
The error happens when I hit the app.ainvoke(), and as mentioned in the note, the code works perfectly fine if I don't await anything.
Any help would greatly be appreciated, Thank you :)
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
Beta Was this translation helpful? Give feedback.
All reactions