Mem0 Node SDK (v3.0.9)
Mem0 Node SDK (v3.0.9)
Bug Fixes:
- LLMs: Fix Anthropic
tool_choiceformat — was incorrectly sent as a bare string"auto"(rejected by the API); now correctly sent as{ type: "auto" }. Also fixes tool response parsing:tool_useblocks are now parsed intotoolCallsobjects instead of throwing. Updated default model toclaude-sonnet-4-6and defaultmax_tokensto2000to match the Python provider. Addedtemperature,topP, andmaxTokenstoLLMConfigso Anthropic params can be configured (#5537) - Memory (OSS): Preserve custom metadata fields during
update()— fields such ascategory,priority, and other user-defined keys were previously dropped on update; the existing payload is now spread before applying the new data (#5480) - Client: Preserve user-defined schema keys in
createMemoryExport(#5594)
Security:
- Dependencies: Bump
esbuildto>=0.28.1across all npm packages via pnpm overrides to remediate upstream vulnerability (#5563)