fix: Bug: Openclaw Extension OSS Mode lacks threshold restrictions (#4106)#4115
Merged
fix: Bug: Openclaw Extension OSS Mode lacks threshold restrictions (#4106)#4115
Conversation
…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>
|
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
approved these changes
Feb 23, 2026
8 tasks
jamebobob
pushed a commit
to jamebobob/mem0-vigil-recall
that referenced
this pull request
Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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