qmd/src
Tobi Lütke 5233e676d9
fix(rerank): truncate documents exceeding 2048-token context size
node-llama-cpp throws a hard error when any document + query + template
overhead exceeds the ranking context size. Truncate oversized documents
using the rerank model's tokenizer before passing them to rankAll().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 12:41:59 -05:00
..
bench-rerank.ts perf: CPU parallelism via multi-context thread splitting 2026-02-15 11:21:45 -05:00
collections.ts feat(cli): add collection management commands 2026-02-19 05:46:07 -05:00
db.ts fix: hide bun:sqlite import from tsc on Node.js builds 2026-02-16 08:56:02 -04:00
formatter.ts fix: add missing context to search results markdown and XML formatters 2026-02-13 00:34:23 -05:00
llm.ts fix(rerank): truncate documents exceeding 2048-token context size 2026-02-22 12:41:59 -05:00
mcp.ts Document query grammar and add skill helpers 2026-02-22 13:36:08 -04:00
qmd.ts Document query grammar and add skill helpers 2026-02-22 13:36:08 -04:00
store.ts Document query grammar and add skill helpers 2026-02-22 13:36:08 -04:00
test-preload.ts fix: increase bun test timeout to 30s via CLI flag 2026-02-15 21:59:18 -04:00