fix: suppress misleading 'Using Q8 WASM' log when Cortex native is active

EmbeddingManager constructor logged 'Using Q8 precision (WASM)' before
plugins had a chance to register a native embedder. Deferred logging to
init() so the startup message reflects the actual embedding engine.
This commit is contained in:
David Snelling 2026-03-22 14:53:48 -07:00
parent 973b6aaa39
commit 60a0f1051f
3 changed files with 5 additions and 4 deletions

View file

@ -48,7 +48,8 @@ export class EmbeddingManager {
private constructor() {
this.engine = WASMEmbeddingEngine.getInstance()
console.log('🎯 EmbeddingManager: Using Q8 precision (WASM)')
// Log deferred to init() — at construction time we don't know if a plugin
// (like Cortex) will replace the WASM embedder with a native one.
}
/**