-
when i am trying to langgraph customer support example (https://langchain-ai.github.io/langgraph/tutorials/customer-support/customer-support/) , it is facing below error--- Traceback (most recent call last): with the older version it was working fine but after upgradation it is facing above error |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@smanna123 it looks like you're using with SqliteSaver.from_conn_string(...) as checkpointer:
app = graph.compile(checkpointer=checkpointer)
app.invoke(...) hope this helps! |
Beta Was this translation helpful? Give feedback.
-
from langgraph.checkpoint.memory import MemorySaver This fixed the issue. |
Beta Was this translation helpful? Give feedback.
@smanna123 it looks like you're using
SqliteSaver.from_conn_string()
as a checkpointer, but it actually is a context manager. the right way to use it ishope this helps!