This commit is contained in:
mkm 2023-10-13 18:53:52 +08:00
parent 4e752ff1fe
commit 44d6469801

View File

@ -92,7 +92,7 @@ class Pusher
} }
$connection->send($response); $connection->send($response);
} else { } else {
$resp['payload']['choices']['tts_text'] = $text; $resp['payload']['choices']['tts_text'] = $text.$resp['payload']['choices']['text'][0]['content'];
$text = ''; $text = '';
$response = json_encode($resp, true); $response = json_encode($resp, true);