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
When switching machines for agent execution, the local caching of memory hashes can lead to synchronization issues. The current implementation prioritizes local hash storage:
When you are switching machine, you don't have any local memory at the beginning. So your state is going to be the latest state on the blockchain.
However, I think your issue is: sometimes you run on machine A and sometimes on B. In that case, yes, the latest memory in the local file is outdated and will cause synch problem.
When switching machines for agent execution, the local caching of memory hashes can lead to synchronization issues. The current implementation prioritizes local hash storage:
This means when moving to a new machine, we might use outdated local hash data instead of the latest blockchain state from the previous machine.
Proposed Solutions
Generate unique session ID on agent startup
Associate last-hash.json with current session
Clear previous session data on startup
Add timestamp to memory hash events
Compare local hash timestamp with blockchain on startup
Invalidate local cache if blockchain state is newer
The text was updated successfully, but these errors were encountered: