Skip to content

Conversation

@ghosh-ayush
Copy link

  • Refactored Gemini and ChatGPT agent logic to ensure run_id is always set before capturing and sending user memory.
  • Implemented robust SPA navigation detection using MutationObserver and pendingMemoryCapture flags.
  • Updated memory capture flow to use a callback, guaranteeing run_id is up-to-date before POSTing to the Mem0 API.
  • Unified logic across agents for reliable run_id extraction and memory association.

@CLAassistant
Copy link

CLAassistant commented Sep 21, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants