agentgui 1.0.450 → 1.0.451
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/js/voice.js +3 -7
package/package.json
CHANGED
package/static/js/voice.js
CHANGED
|
@@ -578,9 +578,9 @@
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
-
function stripHtml(text) {
|
|
582
|
-
return text.replace(/<[^>]*>/g, '').replace(/[ \t]+/g, ' ').trim();
|
|
583
|
-
}
|
|
581
|
+
function stripHtml(text) {
|
|
582
|
+
return text.replace(/<[^>]*>/g, '').replace(/[ \t]+/g, ' ').trim();
|
|
583
|
+
}
|
|
584
584
|
|
|
585
585
|
function addVoiceBlock(text, isUser) {
|
|
586
586
|
var container = document.getElementById('voiceMessages');
|
|
@@ -742,8 +742,6 @@
|
|
|
742
742
|
}
|
|
743
743
|
} else if (block.type === 'result') {
|
|
744
744
|
_voiceBreakNext = true;
|
|
745
|
-
} else {
|
|
746
|
-
_voiceBreakNext = true;
|
|
747
745
|
}
|
|
748
746
|
}
|
|
749
747
|
|
|
@@ -780,8 +778,6 @@
|
|
|
780
778
|
hasContent = true;
|
|
781
779
|
} else if (block.type === 'result') {
|
|
782
780
|
_voiceBreakNext = true;
|
|
783
|
-
} else {
|
|
784
|
-
_voiceBreakNext = true;
|
|
785
781
|
}
|
|
786
782
|
});
|
|
787
783
|
if (!hasContent) showVoiceEmpty(container);
|