Skip to content

Fix REST API infer parameter ignored#3607

Merged
prateekchhikara merged 1 commit intomem0ai:mainfrom
frederikb96:fix/rest-api-infer-parameter
Oct 22, 2025
Merged

Fix REST API infer parameter ignored#3607
prateekchhikara merged 1 commit intomem0ai:mainfrom
frederikb96:fix/rest-api-infer-parameter

Conversation

@frederikb96
Copy link
Copy Markdown
Contributor

@frederikb96 frederikb96 commented Oct 17, 2025

Simple fix - forgot to pass infer parameter to memory_client.add().

Description

REST API endpoint accepts infer parameter in request schema but wasn't passing it to memory_client.add() call. One line fix.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Test Script (verified infer=False stores verbatim, infer=True transforms via LLM)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

- Pass infer parameter from request to memory_client.add()
- Allows infer=False for raw verbatim storage
@prateekchhikara prateekchhikara merged commit 77c71a1 into mem0ai:main Oct 22, 2025
1 of 2 checks passed
garciaba79 pushed a commit to garciaba79/mem0 that referenced this pull request Feb 12, 2026
jamebobob pushed a commit to jamebobob/mem0-vigil-recall that referenced this pull request Mar 29, 2026
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.

3 participants