Skip to content

mem0

v2.0.7 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agents ai ai-agents application chatbots chatgpt
+7 more
genai llm long-term-memory memory memory-management python state-management

Summary

AI summary

Fixed async API error handler dropping return values, a critical bug affecting all asynchronous operations.

Full changelog

Mem0 Python SDK (v2.0.7)

  • LLMs: Add Gemini via Vertex AI as LLM provider (#4030)
  • Embeddings: Add native embed_batch to OllamaEmbedding for batched embedding requests (#5415)

Bug Fixes:

  • Core: Fix api_error_handler silently dropping return values from async methods (#5540)
  • Core: Fix AsyncMemory.reset() not resetting the entity store (#5535)
  • Core: Fix async delete_all aborting on first error, leaving partial deletion (#5529)
  • Core: Skip messages without a content key in message parsers to prevent KeyError crashes (#5575)
  • Core: Preserve custom metadata fields during memory update (#5480)
  • LLMs: Fix Anthropic tool_choice format and tool response parsing (#5537)
  • LLMs: Fix Ollama json format mutating the caller's messages list in-place (#5539)
  • LLMs: Omit None config values from Gemini GenerateContentConfig to prevent validation errors (#5528)
  • LLMs: Honor reasoning-model params in AzureOpenAIStructuredLLM (#5548)
  • LLMs: Honor reasoning-model params in OpenAIStructuredLLM (#5458)
  • LLMs: Send max_completion_tokens for the GPT-5 family across all providers (#5547)
  • LLMs: Accept and forward **kwargs in Together, LangChain, and Sarvam providers (#5556)
  • LLMs: Fix Bedrock AI21 response parse default using dict literal instead of set (#5527)
  • LLMs: Fix LiteLLM function-calling check blocking all calls on non-tool models (#5536)
  • LLMs: Fix HuggingFace provider using self.config instead of raw config parameter (#5538)
  • Embeddings: Honor aws_session_token in AWS Bedrock embeddings (#5566)
  • Rerankers: Respect config.top_k in Cohere and ZeroEntropy fallback paths (#5560)
  • Vector Stores: Fix FAISS filtered search dropping over-fetched candidates before filtering (#5453)
  • Vector Stores: Fix Weaviate reset() crashing with missing vector_size argument (#5531)
  • Vector Stores: Pass embedding dims in Weaviate reset() to avoid re-init crash (#5570)
  • Vector Stores: Fix MongoDB reset() passing wrong argument to create_col() (#5532)
  • Vector Stores: Fix Pinecone hybrid search crashing when filters is None (#5533)
  • Vector Stores: Fix Redis crashing on empty or None filters in search() and list() (#5446)
  • Vector Stores: Return None from get() for missing IDs in Milvus, Weaviate, and Supabase (#5562)
  • Vector Stores: Return None from ChromaDB get() for missing IDs (#5561)

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track mem0

Get notified when new releases ship.

Sign up free

About mem0

Universal memory layer for AI Agents

All releases →

Related context

Beta — feedback welcome: [email protected]