From 82cdb1de51f396ca4835d96f2ff1437931a3fb55 Mon Sep 17 00:00:00 2001 From: Liu Zhangjian Date: Tue, 15 Oct 2024 10:10:00 +0800 Subject: [PATCH] fix: [InlineChat] Modify the prompts Do not use chunk as prompts Log: fix issue --- src/plugins/codegeex/widgets/inlinechatwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/codegeex/widgets/inlinechatwidget.cpp b/src/plugins/codegeex/widgets/inlinechatwidget.cpp index 70ae98825..418a8d88c 100644 --- a/src/plugins/codegeex/widgets/inlinechatwidget.cpp +++ b/src/plugins/codegeex/widgets/inlinechatwidget.cpp @@ -506,7 +506,7 @@ bool InlineChatWidgetPrivate::askForCodeGeeX() answerLabel->clear(); auto *futureWatcher = new QFutureWatcher(); - futureWatcher->setFuture(QtConcurrent::run(this, &InlineChatWidgetPrivate::createPrompt, question, true)); + futureWatcher->setFuture(QtConcurrent::run(this, &InlineChatWidgetPrivate::createPrompt, question, false)); connect(futureWatcher, &QFutureWatcher::finished, this, &InlineChatWidgetPrivate::handleCreatePromptFinished); futureWatcherList << futureWatcher; return true;