Skip to content

fix: Bug: Openclaw Extension OSS Mode lacks threshold restrictions (#4106)#4115

Merged
deshraj merged 1 commit intomainfrom
fix/issue-4106-cdc175
Feb 23, 2026
Merged

fix: Bug: Openclaw Extension OSS Mode lacks threshold restrictions (#4106)#4115
deshraj merged 1 commit intomainfrom
fix/issue-4106-cdc175

Conversation

@mem0-bot
Copy link
Copy Markdown
Contributor

@mem0-bot mem0-bot bot commented Feb 23, 2026

Fix for #4106

Issue: #4106 - Bug: Openclaw Extension OSS Mode lacks threshold restrictions

Fix Description:
Fixed missing threshold parameter support in OpenClaw Extension OSS mode. The OSS provider's search method was ignoring the searchThreshold parameter while the platform provider correctly handled it. Added threshold parameter handling to the options object and implemented client-side filtering as a fallback to ensure consistency between OSS and platform modes.

Files Changed: openclaw/index.ts

Tests Passed: Yes
Lint Passed: Yes


This PR was automatically generated by the LGTM codefix agent.
Fixes #4106

…arch

The OSS provider's search method was ignoring the searchThreshold parameter
while the platform provider correctly handled it. This inconsistency meant
users couldn't filter search results by similarity score in OSS mode.

Changes:
- Add threshold parameter handling to opts object (line 271)
- Add client-side filtering as fallback for score-based threshold (lines 274-277)
- Follows same pattern as platform provider implementation

Fixes #4106

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


LGTM Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@deshraj deshraj merged commit aa4a944 into main Feb 23, 2026
2 of 3 checks passed
@deshraj deshraj deleted the fix/issue-4106-cdc175 branch February 23, 2026 02:44
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.

Bug: Openclaw Extension OSS Mode lacks threshold restrictions

2 participants