Fix NotImplementedError
in MemGPT
✅ Solution
The "NotImplementedError" in memgpt often arises when attempting to use a feature, like a specific embedding model, that hasn't been fully implemented or properly configured within the memgpt codebase, especially in archival memory or agent configurations. To fix it, ensure that the desired embedding model is correctly specified in both the agent config (`~/.memgpt/agents/<agent_name>/config.json`) and global config (`~/.memgpt/config`), and that the corresponding embedding function is implemented in the memgpt code (e.g., `memgpt/embeddings/openai_embeddings.py` or equivalent for other providers); if a custom model is needed, implement the embedding logic and correctly wire it into the agent's archival memory tools.
Related Issues
Real GitHub issues where developers encountered this error: