Updates
Rolling release / release (push) Failing after 1m24s

This commit is contained in:
2026-09-11 19:36:12 -04:00
parent 7604cded2c
commit a78708f8ff
26 changed files with 298 additions and 59 deletions
+9 -4
View File
@@ -79,11 +79,16 @@ async function ensureInit() {
// the in-process inference surface and register the engines they own.
mod = await import('@qvac/inference');
const { llmPlugin } = await import('@qvac/inference/llamacpp-completion/plugin');
const { whisperPlugin } = await import('@qvac/inference/whispercpp-transcription/plugin');
const { ttsPlugin } = await import('@qvac/inference/tts-ggml/plugin');
mod.registerPlugin(llmPlugin);
mod.registerPlugin(whisperPlugin);
mod.registerPlugin(ttsPlugin);
// Voice engines fail independently: an unavailable ASR addon must not
// prevent speech output or the text assistant from initializing.
for (const [modulePath, exportName] of [
['@qvac/inference/whispercpp-transcription/plugin', 'whisperPlugin'],
['@qvac/inference/tts-ggml/plugin', 'ttsPlugin'],
]) {
try { const plugin = await import(modulePath); mod.registerPlugin(plugin[exportName]); }
catch (error) { log(`${exportName} unavailable: ${flattenError(error)}`); }
}
} else {
mod = await import('@qvac/sdk');
}