Fix NotImplementedError
in MemGPT
✅ Solution
The "NotImplementedError" in MemGPT often arises when a requested feature or functionality, particularly related to embedding models or archival tools, hasn't been fully implemented for the currently configured agent or configuration. To fix this, ensure that the requested functionality (e.g., using a specific embedding model) is properly implemented and linked within the MemGPT codebase, paying close attention to conditional logic that may be causing a fallback to default or unconfigured behavior. Specifically, check the archival memory tools to ensure they are correctly utilizing the agent's embedding model configuration instead of hardcoding a default like "openai/text-embedding-3-small". Update the relevant code to use the agent's configurations.
Related Issues
Real GitHub issues where developers encountered this error: