github mem0ai/mem0 v2.0.19
Mem0 Python SDK (v2.0.19)

latest releases: deepseek-plugin-v0.1.0, n8n-nodes-mem0-v0.1.4, vercel-ai-v3.0.2...
3 hours ago

Bug Fixes:

  • Embeddings: HuggingFaceEmbedding now falls back to the HUGGINGFACE_API_KEY env var, then a placeholder key, when huggingface_base_url is set and no api_key is configured. The OpenAI-compatible client used to talk to TEI endpoints raises at construction when no key resolves at all, so a TEI deployment that doesn't require a real key previously failed to initialize (#6947)
  • Core: remove_code_blocks() now accepts list-shaped content (a sequence of {"text": ...} blocks, as some agent frameworks pass) by joining each block's text before stripping code fences, instead of raising AttributeError from calling .strip() on a list (#6947)
  • Core: create_procedural_memory() (Memory and AsyncMemory) now raises a clear ValueError when the LLM returns no content for the summary, instead of continuing with empty content that surfaced as a confusing error further down the call (#6947)
  • Proxy: mem0.proxy no longer auto-installs litellm via a pip install subprocess when the import fails; it now raises ImportError with instructions to install it yourself. The auto-install could hang or fail silently in restricted environments and ran an unreviewed install on the caller's behalf (#6947)
  • Client: get_all() (sync and async) now sends page and page_size as independent query params instead of requiring both to be set before either was sent. Passing only page_size without page previously had it silently dropped, so results came back at the server's default page size (#6900)
  • LLMs: Add provider_override to AWSBedrockConfig, an explicit provider name (for example "anthropic") for when model is an application inference profile ARN whose opaque ID has no provider substring for extract_provider() to detect. Without it, those ARNs raised ValueError: Unable to determine provider (#6899)
  • LLMs: VllmConfig now falls back to the VLLM_BASE_URL env var when vllm_base_url isn't passed explicitly. The default was filled in before the env var was ever checked, so VLLM_BASE_URL was silently ignored (#6897)

Don't miss a new mem0 release

NewReleases is sending notifications on new releases.