Replies: 4 comments 2 replies
-
This is not a bug with LangGraph and is a duplicate of previous discussions. Transferring to discussions. |
Beta Was this translation helpful? Give feedback.
-
I found this https://langchain-ai.github.io/langgraph/how-tos/memory/delete-messages/#programmatically-deleting-messages but here are the challenges: (1) I am using ReAct agent. This looks like a housekeeping task. Would adding this as a (2) The error is caught in exception. Would using a decorator with retry logic to clean up the erraneous |
Beta Was this translation helpful? Give feedback.
-
https://langchain-ai.github.io/langgraph/troubleshooting/errors/INVALID_CHAT_HISTORY/ Which of the variants of "config" (langchain-ai/langchain#30871) is the |
Beta Was this translation helpful? Give feedback.
-
Can someone review if this is the right and optimized way of doing it? It seems to work for me:
|
Beta Was this translation helpful? Give feedback.
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
Example Code
Error Message and Stack Trace (if applicable)
Description
This could be due to previous run crashed or user terminated the session abruptly by, say,
CTRL-C
.(1) Why did the library persist inconsistent data into the database?
(2) How to recover from this?
Does this refer to the checkpoint DB in PostgreSQL? Which table? Any documentation on the tables? What do they persist and what functionality they provide?
I also notice that there is no timestamp column in all of the checkpoint DB tables. How do we
SELECT
andORDER BY
the table data?System Info
Beta Was this translation helpful? Give feedback.
All reactions