Repository navigation
fix(mcp): room recall pack keeps skipped reasons and applies limit after exclude_ids (#1391) - #1392
Merged
Merged
Conversation
…ter exclude_ids (#1391) - pack mode returns the pack (with `skipped`) unless the room had no matches - recall_room_packed removes exclude_ids before truncating to limit - document that min_score compares hybrid and fallback cosine scores Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
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.
What
uteke_room_recallreturns the pack (includingskippedwithexcluded/budgetreasons) instead of the fixed "No results fit the budget." text; the plain "No memories found in room." is kept for a room with no matches.recall_room_packedremovesexclude_idsbefore applyinglimit, solimitcounts memories that can be selected; excluded hits are still reported inskipped.min_scorecompares hybrid scores with fallback cosine scores.Why
Closes #1391 (findings 1 and 2 from the post-merge review of #1389). Finding 3 (
min_scorescale mix) is documented only: I did not measure whether the scales diverge, so I did not change behaviour.Testing
-D warnings,cargo test --workspace, vecq-only core lib tests (658) greenselectedand non-emptyskippedexec_room_recall)🤖 Generated with Claude Code