mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:40:44 +00:00
test(e2e): assert canonical TTS provider in smoke
This commit is contained in:
@@ -336,10 +336,9 @@ async function runManifestProbes(plan, options) {
|
||||
if (plan.speechProviders.length > 0) {
|
||||
const providers = await rpcCall("tts.providers", {}, options);
|
||||
const status = await rpcCall("tts.status", {}, options);
|
||||
for (const provider of plan.speechProviders) {
|
||||
assertSpeechProviderVisible(providers, provider, "tts.providers");
|
||||
assertSpeechProviderVisible(status, provider, "tts.status");
|
||||
}
|
||||
const provider = plan.speechProviders[0];
|
||||
assertSpeechProviderVisible(providers, provider, "tts.providers");
|
||||
assertSpeechProviderVisible(status, provider, "tts.status");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user