qmd/src
JohnRichardEnders 8644fa99d1 fix(store): thread embed model URI to format functions for correct prompt detection
When the embed model is configured via YAML (not env var), formatDocForEmbedding
and formatQueryForEmbedding callers in store.ts would fall back to the default
model, producing the wrong prompt format. This adds a public embedModelName
getter on LlamaCpp and threads it through all five call sites.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 18:00:34 -04:00
..
bench feat(cli): add qmd bench command for search quality benchmarks 2026-04-05 17:17:59 -04:00
cli feat(cli): configure LlamaCpp singleton from YAML models config 2026-04-05 18:00:09 -04:00
mcp feat(mcp): pass YAML config path to createStore for model resolution 2026-04-05 18:00:09 -04:00
ast.ts feat: AST-aware chunking for code files via tree-sitter 2026-03-22 01:22:39 -04:00
bench-rerank.ts feat: use build: "autoAttempt" on getLlama 2026-03-06 07:02:50 +00:00
collections.ts feat(config): add ModelsConfig type to CollectionConfig 2026-04-05 18:00:08 -04:00
db.ts fix(db): add macOS Homebrew SQLite support for Bun and restore actionable errors 2026-03-11 12:55:20 -03:00
embedded-skills.ts feat(skill): install packaged qmd skill 2026-03-10 23:18:15 +01:00
index.ts feat(sdk): pass YAML models config to LlamaCpp in createStore 2026-04-05 18:00:08 -04:00
llm.ts fix(store): thread embed model URI to format functions for correct prompt detection 2026-04-05 18:00:34 -04:00
maintenance.ts refactor: move CLI and MCP to subdirectories, MCP consumes SDK 2026-03-10 11:39:55 -04:00
store.ts fix(store): thread embed model URI to format functions for correct prompt detection 2026-04-05 18:00:34 -04:00
test-preload.ts fix: increase bun test timeout to 30s via CLI flag 2026-02-15 21:59:18 -04:00