11 lines
532 B
JavaScript
11 lines
532 B
JavaScript
import { qvacSdk } from '../daemon/qvac-master.js';
|
|
const sdk = await qvacSdk();
|
|
for (const type of ['llamacpp-completion', 'whispercpp-transcription', 'tts-ggml']) {
|
|
if (!sdk.hasPlugin(type)) throw new Error(`Release is missing registered plugin: ${type}`);
|
|
}
|
|
for (const model of ['WHISPER_TINY', 'VAD_SILERO_5_1_2', 'TTS_EN_SUPERTONIC_Q8_0']) {
|
|
if (!sdk[model]) throw new Error(`Release is missing model asset: ${model}`);
|
|
}
|
|
console.log('Voice runtime: native ASR/TTS plugins and model registry verified');
|
|
await sdk.close();
|