This commit is contained in:
mkm 2023-10-13 18:38:15 +08:00
parent af1b902a25
commit 09ae2194d2

View File

@ -92,11 +92,9 @@ class Pusher
}
$connection->send($response);
} else {
if (strlen($text) > 1) {
$resp['payload']['choices']['tts_text'] = $text;
$text = '';
$response = json_encode($resp, true);
}
$connection->send($response);