Skip to content

Feature#45

Merged
ssrajadh merged 2 commits intomasterfrom
feature
Apr 19, 2026
Merged

Feature#45
ssrajadh merged 2 commits intomasterfrom
feature

Conversation

@ssrajadh
Copy link
Copy Markdown
Owner

No description provided.

ssrajadh and others added 2 commits April 18, 2026 19:02
New \`sentrysearch shell\` starts a REPL that loads the embedder once
and runs queries against it in a loop — avoids the per-query model-load
overhead that makes running multiple searches back-to-back painful on
the local backend.

Features:
  - Readline-backed input (arrow-key history, Ctrl-R search)
  - Persistent history at ~/.sentrysearch/history (1000 entries)
  - Meta-commands: :n <int>, :help, :quit
  - Ctrl-D to exit, Ctrl-C to cancel the current line
  - Search errors are reported without killing the session

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
A one-line tip is printed on stderr before model load when --backend
local is in use. The local backend re-loads model weights on every
search invocation, so users running multiple queries benefit from the
shell's persistent embedder — but they'd never discover it without a
nudge. Suppressed for Gemini where the load cost is negligible.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ssrajadh ssrajadh merged commit 71f2d37 into master Apr 19, 2026
9 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