|
...
|
...
|
@@ -94,7 +94,7 @@ class ChatLogic extends BaseLogic |
|
|
|
if (json_last_error() === JSON_ERROR_NONE) {
|
|
|
|
if (isset($jsonData['text'])) {
|
|
|
|
$aiResponse .= $jsonData['text'];
|
|
|
|
echo $gptService->en_sse_data(trim($jsonData['text']));
|
|
|
|
echo $gptService->en_sse_data($jsonData['text']);
|
|
|
|
ob_flush();
|
|
|
|
flush();
|
|
|
|
}
|
...
|
...
|
|