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> |
||
|---|---|---|
| .. | ||
| bench | ||
| cli | ||
| mcp | ||
| ast.ts | ||
| bench-rerank.ts | ||
| collections.ts | ||
| db.ts | ||
| embedded-skills.ts | ||
| index.ts | ||
| llm.ts | ||
| maintenance.ts | ||
| store.ts | ||
| test-preload.ts | ||