From c789d53d6a8ac93fbb0ea084aeaf8469a7fe1f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 17 Mar 2023 23:01:48 +0800 Subject: [PATCH] update --- example/ChatController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ChatController.cpp b/example/ChatController.cpp index 855751e2..298291a6 100644 --- a/example/ChatController.cpp +++ b/example/ChatController.cpp @@ -29,7 +29,7 @@ void ChatController::sendMessage(const QString& text){ QJsonObject jsonObj = doc.object(); QString text = jsonObj.value("choices").toArray().at(0).toObject().value("message").toObject().value("content").toString(); if(text.isEmpty()){ - text = "不好意思,我似乎听不懂您的意思"; + text = "响应错误:content为空数据"; }else{ messages.append(createMessage("assistant",text)); }