Skip to content

Fix _search_oss payload structure for mem0 v2.0.0 compatibility#3

Open
ZLEternity wants to merge 1 commit intomem0ai:mainfrom
ZLEternity:patch-search_oss
Open

Fix _search_oss payload structure for mem0 v2.0.0 compatibility#3
ZLEternity wants to merge 1 commit intomem0ai:mainfrom
ZLEternity:patch-search_oss

Conversation

@ZLEternity
Copy link
Copy Markdown

What

Adapt _search_oss to mem0 v2.0.0 API changes.

Why

mem0 v2.0.0 requires user_id to be nested under filters.

Change

  • Before: {"user_id": user_id}
  • After: {"filters": {"user_id": user_id}}

Adapt `_search_oss` to mem0 v2.0.0 API changes.
mem0 v2.0.0 requires `user_id` to be nested under `filters`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant