Skip to content

feat(recall): inject up to 15 deduplicated memories, bump to 0.1.14 - #149

Merged
Dhravya merged 1 commit into
mainfrom
capy/inject-up-to-15
Oct 23, 2026
Merged

Dhravya merged 1 commit into
mainfrom
capy/inject-up-to-15

Conversation

@Dhravya

@Dhravya Dhravya commented Oct 23, 2026

Copy link
Copy Markdown
Member

Prompt recall now injects up to 15 memories instead of 5, at the existing 0.55 similarity threshold.

  • Search: the v5 search requests limit: 15 (threshold stays 0.55), and the hook's MAX_RESULTS is 15 so legacy /v4/profile results get the same cap.
  • Deduplicator: hits whose text is identical after whitespace normalization are dropped within a batch before the cap, so duplicates don't spend slots. It uses the same hash as the existing cross-session dedup, so recalled.json files from earlier versions stay valid.
  • Release: version bumped to 0.1.14 in package.json, package-lock.json, plugin.json, and latest.json.

Added a unit test covering in-batch dedup and the 15-result cap. derives one canonical repo tag from the git remote fails on main too and is unrelated.

Open in Capy

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@Dhravya
Dhravya merged commit c2ffeec into main Oct 23, 2026
4 checks passed
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