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

latest releases: opencode-v0.2.0, ts-v3.0.9
2 hours ago

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)

Don't miss a new mem0 release

NewReleases is sending notifications on new releases.