Bug Fixes:
- Vector Stores: Fix
reset()silently leaving stale vectors behind on local (on-disk) Qdrant when the old collection directory could not be removed, for example an open file handle on Windows or NFS (#6412) - Core: Stop
update()metadata from overwriting or injectinguser_id,agent_id,run_id, oractor_id. These identity fields are immutable after creation, so passing them inmetadatacan no longer move a memory into a different tenant's scope (#6278) - Vector Stores: Scope Pinecone
delete_col()/reset()to the configured namespace instead of deleting the whole index, so resetting a namespaced Pinecone store no longer wipes out the other namespaces sharing that index (#6287) - Vector Stores: Convert Baidu Mochow's raw L2 distance into a similarity score in
search()(1 / (1 + distance)), so closer matches rank higher instead of lower, matching the Milvus provider and the rest of theVectorStoreBasecontract (#6435) - LLMs: Read
OPENAI_BASE_URL(wasOPENAI_API_BASE) inOpenAIStructuredLLM, matching the official OpenAI SDK's environment variable and the rest of the OpenAI-compatible providers (#6322)
Improvements:
- LLMs: Remove a dead, no-op
api_keyattribute check fromLLMBase.__init__(#6460)
Changes:
- Client: Remove the
retrieval_criteriaparameter fromMemoryClient.update_project()/AsyncMemoryClient.update_project()andProject.update()/AsyncProject.update(). It was accepted and forwarded but never affected retrieval, so removing it is not a behavior change (#6313)