Mem0 Node SDK (v3.3.1)
Mem0 Node SDK v3.3.1 resolves LLM config fallback issues for non-OpenAI providers, fixes Turbopuffer filtering and distance mapping, and makes pg an optional peer dependency.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Mem0 released Node SDK v3.3.1 containing multiple bug fixes and packaging improvements. In LLM configuration, ConfigManager now restricts default OpenAI baseURL and model injections strictly to 'openai' and 'openai structured' providers, allowing alternative providers like DeepSeek and xAI to properly fall back to their respective defaults and environment variables. In vector store implementations, Turbopuffer now supports all filter operators (eq, ne, gt, gte, lt, lte, in, nin), throws on unsupported operators, and resolves an issue where Euclidean squared distance ranking inverted for values above 1 by transitioning to a 1 / (1 + distance) mapping. Additionally, packaging updates make pg , @types/pg , and natural optional peer dependencies with caret range support; the PGVector store dynamically imports pg only when utilized, and @types/jest was moved to dev dependencies.
可执行摘要
Mem0 Node SDK v3.3.1 fixes ConfigManager erroneously injecting OpenAI baseURL and model defaults into third-party providers (DeepSeek, xAI). It also addresses Turbopuffer operator dropping and squared Euclidean distance inversion, and shifts pg , @types/pg , and natural to optional peer dependencies with dynamic imports for PGVector.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- If using PGVector store with the Node SDK, manually install pg (e.g., npm install pg ) alongside mem0ai .
- Verify DeepSeek, xAI, or custom LLM configurations to confirm environment variables (e.g., DEEPSEEK API BASE, XAI API BASE) resolve as expected without unintended OpenAI defaults.
- Review any Turbopuffer vector store filtering and search ranking logic to ensure compatibility with corrected operators and adjusted Euclidean squared distance scoring.