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
While running the LATS example notebook available at langchain-ai/langgraph/examples/lats/lats.ipynb, I encountered a KeyError when trying to access the solution node using step["__end__"]["root"].get_best_solution(). This error occurs at the end of the notebook, specifically in the cells where the graph stream is being processed to extract the best solution node.
This issue prevents the completion of the example notebook and the extraction of the best solution node for the given questions. Any guidance or fixes would be greatly appreciated.
Hi @rakataprime , thanks for responding. I have downgraded langgraph version to 0.0.26 and it works. Is there a permanent fix(proposed) for the newer versions?
Checked other resources
Example Code
https://github.com/langchain-ai/langgraph/blob/main/examples/lats/lats.ipynb
Error Message and Stack Trace (if applicable)
Description
While running the LATS example notebook available at
langchain-ai/langgraph/examples/lats/lats.ipynb
, I encountered a KeyError when trying to access the solution node usingstep["__end__"]["root"].get_best_solution()
. This error occurs at the end of the notebook, specifically in the cells where the graph stream is being processed to extract the best solution node.This issue prevents the completion of the example notebook and the extraction of the best solution node for the given questions. Any guidance or fixes would be greatly appreciated.
System Info
langchain==0.1.14
langchain-community==0.0.31
langchain-core==0.1.40
langchain-experimental==0.0.56
langchain-openai==0.1.1
langchain-text-splitters==0.0.1
langchainhub==0.1.15
The text was updated successfully, but these errors were encountered: