()
| 2114 | } |
| 2115 | |
| 2116 | const handleTTSAbortAll = async () => { |
| 2117 | const activeTTSMessages = Object.keys(isTTSLoading).concat(Object.keys(isTTSPlaying)) |
| 2118 | for (const messageId of activeTTSMessages) { |
| 2119 | await ttsApi.abortTTS({ chatflowId: chatflowid, chatId, chatMessageId: messageId }) |
| 2120 | } |
| 2121 | } |
| 2122 | |
| 2123 | useEffect(() => { |
| 2124 | if (ttsStreamingState.sourceBuffer) { |
no outgoing calls
no test coverage detected