Agent Memory Message Order #12332
Unanswered
mateonegri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I'm having an issue with the built-in agent memory. When executing a flow via the API (POST /api/v1/run/{flow_id}), Langflow stores both the User message and the AI response with the same second-precision timestamp. When retrieving messages via GET /api/v1/monitor/messages, the AI (Machine) message frequently appears before the User message within the same timestamp, breaking chronological conversation order.
This causes the LLM to see a corrupted conversation history on subsequent turns, leading to repeated answers and confused responses.
I'm using a self hosted instance on version 1.7.3
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions