-
-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
π Issue Overview
When a user updates their data (weight, symptoms, appointments) using natural language chat (via the Agent), the changes are committed to the database, but the Agent's context cache is not updated. This results in the Agent having "stale" knowledge of the user's state until the cache expires or the server restarts.
π Steps to Reproduce
- Send a POST request to
/agentwith the query: "Log my weight as 95kg". - Immediately send a follow-up POST request to
/agentwhat is my current weight
π― Expected Behavior
The Agent should respond referencing the newly logged weight of 95kg.
π¨ Actual Behavior
The Agent responds using the old weight (from the previous cache state), ignoring the update just made.
π· Screenshot
π‘ Suggested Improvements
Update the handlers in handlers folder to trigger a cache update upon successful database insertion.
Record
- I agree to follow this project's Code of Conduct
- I want to work on this issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels