more fixes

This commit is contained in:
Dave Horton
2024-01-12 16:22:23 -05:00
parent 21f03dd13a
commit 5b1c2d3052

View File

@@ -152,7 +152,7 @@ class TaskSay extends Task {
}
if (otelSpan) otelSpan.setAttributes({'tts.cached': servedFromCache});
if (otelSpan) otelSpan.end();
if (!servedFromCache && rtt) {
if (!servedFromCache && rtt && !preCache) {
this.notifyStatus({
event: 'synthesized-audio',
vendor,