Mem0 Python SDK (v2.0.7)
- LLMs: Add Gemini via Vertex AI as LLM provider (#4030)
- Embeddings: Add native
embed_batchtoOllamaEmbeddingfor batched embedding requests (#5415)
Bug Fixes:
- Core: Fix
api_error_handlersilently dropping return values from async methods (#5540) - Core: Fix
AsyncMemory.reset()not resetting the entity store (#5535) - Core: Fix
async delete_allaborting on first error, leaving partial deletion (#5529) - Core: Skip messages without a
contentkey in message parsers to preventKeyErrorcrashes (#5575) - Core: Preserve custom metadata fields during memory update (#5480)
- LLMs: Fix Anthropic
tool_choiceformat and tool response parsing (#5537) - LLMs: Fix Ollama
jsonformat mutating the caller's messages list in-place (#5539) - LLMs: Omit
Noneconfig values from GeminiGenerateContentConfigto prevent validation errors (#5528) - LLMs: Honor reasoning-model params in
AzureOpenAIStructuredLLM(#5548) - LLMs: Honor reasoning-model params in
OpenAIStructuredLLM(#5458) - LLMs: Send
max_completion_tokensfor the GPT-5 family across all providers (#5547) - LLMs: Accept and forward
**kwargsin Together, LangChain, and Sarvam providers (#5556) - LLMs: Fix Bedrock AI21 response parse default using
dictliteral instead ofset(#5527) - LLMs: Fix LiteLLM function-calling check blocking all calls on non-tool models (#5536)
- LLMs: Fix HuggingFace provider using
self.configinstead of rawconfigparameter (#5538) - Embeddings: Honor
aws_session_tokenin AWS Bedrock embeddings (#5566) - Rerankers: Respect
config.top_kin 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 missingvector_sizeargument (#5531) - Vector Stores: Pass embedding dims in Weaviate
reset()to avoid re-init crash (#5570) - Vector Stores: Fix MongoDB
reset()passing wrong argument tocreate_col()(#5532) - Vector Stores: Fix Pinecone hybrid search crashing when
filtersisNone(#5533) - Vector Stores: Fix Redis crashing on empty or
Nonefilters insearch()andlist()(#5446) - Vector Stores: Return
Nonefromget()for missing IDs in Milvus, Weaviate, and Supabase (#5562) - Vector Stores: Return
Nonefrom ChromaDBget()for missing IDs (#5561)