Skip to content

feat(ui): memory reranker model picker with builtin + rerank catalog options - #1781

Merged
thinmintdev merged 1 commit into
mainfrom
h0/memory-rerank-model-dropdown
Aug 9, 2026
Merged

feat(ui): memory reranker model picker with builtin + rerank catalog options#1781
thinmintdev merged 1 commit into
mainfrom
h0/memory-rerank-model-dropdown

Conversation

@thinmintdev

Copy link
Copy Markdown
Contributor

What changed

Settings → Memory → Reranker: embedding.rerank_model is now a dropdown instead of free text:

  • builtin.jina-reranker-v1-tiny-en-q8 · builtin (default) — the schema default, served without a rerank slot.
  • Every capability-tagged rerank model from the catalogs.embed.rerank catalog (GET /api/capabilities), annotated with the backends it runs on (e.g. bge-reranker-v2-m3-q4_k_m · gpu-vulkan / gpu-rocm / cpu; NPU-backed rows annotate npu automatically).
  • A saved id outside both lists stays pickable as <id> (saved) so the operator can see and move off a stale value.

Free text is deliberately gone for this key: a typo'd id never errors — Hal0Reranker fail-softs to fused vector ordering on every recall, silently.

AdvRow's per-key options override now accepts {value, label} entries alongside plain strings (backward compatible) to carry the backend annotations.

Verification

  • Browser-verified against the live CT105 API: dropdown renders builtin (selected) + both catalog rerankers with backend annotations; picking one enables Save reranker.
  • npm run lint, npm run test:unit (121 passed), new memory-rerank-model-picker-v3.spec.ts e2e (2 passed).

🤖 Generated with Claude Code

…options

memory.embedding.rerank_model was a free-text field even though only two
kinds of value make sense: the builtin default the schema ships
(builtin.jina-reranker-v1-tiny-en-q8) and a model the rerank slot
actually serves. A typo'd id doesn't error — Hal0Reranker fail-softs to
fused vector ordering on every recall, silently.

Render it as a dropdown instead: the builtin (labelled as the default)
plus every capability-tagged rerank model from the embed.rerank catalog,
annotated with its gpu/npu backends. A saved id outside both stays
pickable as "(saved)" so the operator can see and move off it. AdvRow's
options override now accepts {value, label} entries alongside plain
strings to carry the annotations.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@thinmintdev
thinmintdev enabled auto-merge (squash) August 9, 2026 19:24
@thinmintdev
thinmintdev merged commit 10699db into main Aug 9, 2026
8 checks passed
@thinmintdev
thinmintdev deleted the h0/memory-rerank-model-dropdown branch August 9, 2026 19:49
thinmintdev added a commit that referenced this pull request Aug 9, 2026
Cut the fourth 1.0 release candidate on the current main tip (295181b), so
it includes every PR merged for this candidate — the privileged-seam hardening
cluster (#1738/#1740/#1750/#1759, #1585) plus the UI/bench/dashboard polish
(#1764/#1766/#1768/#1770/#1781/#1782 and siblings).

Folds [Unreleased] into a 1.0.0-rc.4 section (Added / Security / Fixed + the
preview-channel Audience / Supported upgrades / Known issues / Operator
migrations / Rollback subsections), bumps the version across
pyproject/ui/manifest/uv.lock, and refreshes toolbox digests (7 updated,
0 null).

Operator migrations flagged: file:// HAL0_RELEASES_URL moves from api.env to
root-owned update.conf (#1750); deprecated out-of-list extra_args podman flags
now refused at the seam (#1759).
thinmintdev added a commit that referenced this pull request Aug 9, 2026
Cut the fourth 1.0 release candidate on the current main tip (295181b), so
it includes every PR merged for this candidate — the privileged-seam hardening
cluster (#1738/#1740/#1750/#1759, #1585) plus the UI/bench/dashboard polish
(#1764/#1766/#1768/#1770/#1781/#1782 and siblings).

Folds [Unreleased] into a 1.0.0-rc.4 section (Added / Security / Fixed + the
preview-channel Audience / Supported upgrades / Known issues / Operator
migrations / Rollback subsections), bumps the version across
pyproject/ui/manifest/uv.lock, and refreshes toolbox digests (7 updated,
0 null).

Operator migrations flagged: file:// HAL0_RELEASES_URL moves from api.env to
root-owned update.conf (#1750); deprecated out-of-list extra_args podman flags
now refused at the seam (#1759).
thinmintdev added a commit that referenced this pull request Aug 9, 2026
Cut the fourth 1.0 release candidate on the current main tip (295181b), so
it includes every PR merged for this candidate — the privileged-seam hardening
cluster (#1738/#1740/#1750/#1759, #1585) plus the UI/bench/dashboard polish
(#1764/#1766/#1768/#1770/#1781/#1782 and siblings).

Folds [Unreleased] into a 1.0.0-rc.4 section (Added / Security / Fixed + the
preview-channel Audience / Supported upgrades / Known issues / Operator
migrations / Rollback subsections), bumps the version across
pyproject/ui/manifest/uv.lock, and refreshes toolbox digests (7 updated,
0 null).

Operator migrations flagged: file:// HAL0_RELEASES_URL moves from api.env to
root-owned update.conf (#1750); deprecated out-of-list extra_args podman flags
now refused at the seam (#1759).
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