KeyError encountered: '__start__' #1374
-
I’m encountering a KeyError: 'start' when invoking a runnable graph in my Langchain-based agent. This error seems to occur when the graph tries to access a start key during execution. Additionally, due to this error, the output (out) is not defined, which leads to a subsequent NameError. Error Traceback: Traceback (most recent call last): Context Questions:
Relevant code print("Initial state:", initial_state) try: if out is not None: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
hmm are you able to share the code for this graph? |
Beta Was this translation helpful? Give feedback.
Okay so it worked when I updated to the latest version langgraph-0.2.14 - thanks!