remove seemingly redundant code, reintroduce param to force bypass of tts streaming

This commit is contained in:
Dave Horton
2024-03-07 13:44:40 -05:00
parent 04a2466f54
commit d0dfd07204
2 changed files with 13 additions and 18 deletions

View File

@@ -537,7 +537,7 @@ test('Deepgram speech synth tests', async(t) => {
credentials: {
api_key: process.env.DEEPGRAM_API_KEY
},
model: 'alpha-asteria-en-v2',
model: 'aura-asteria-en',
text,
});
t.ok(!opts.servedFromCache, `successfully synthesized deepgram audio to ${opts.filePath}`);