作者 李宇航

合并分支 'lyh-server' 到 'master'

gx



查看合并请求 !1744
@@ -94,7 +94,7 @@ class ChatLogic extends BaseLogic @@ -94,7 +94,7 @@ class ChatLogic extends BaseLogic
94 if (json_last_error() === JSON_ERROR_NONE) { 94 if (json_last_error() === JSON_ERROR_NONE) {
95 if (isset($jsonData['text'])) { 95 if (isset($jsonData['text'])) {
96 $aiResponse .= $jsonData['text']; 96 $aiResponse .= $jsonData['text'];
97 - echo $gptService->en_sse_data(trim($jsonData['text'])); 97 + echo $gptService->en_sse_data($jsonData['text']);
98 ob_flush(); 98 ob_flush();
99 flush(); 99 flush();
100 } 100 }