Skip to content

Commit 82cdb1d

Browse files
Kakueeendeepin-mozart
authored andcommitted
fix: [InlineChat] Modify the prompts
Do not use chunk as prompts Log: fix issue
1 parent 5327588 commit 82cdb1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/codegeex/widgets/inlinechatwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ bool InlineChatWidgetPrivate::askForCodeGeeX()
506506
answerLabel->clear();
507507

508508
auto *futureWatcher = new QFutureWatcher<QString>();
509-
futureWatcher->setFuture(QtConcurrent::run(this, &InlineChatWidgetPrivate::createPrompt, question, true));
509+
futureWatcher->setFuture(QtConcurrent::run(this, &InlineChatWidgetPrivate::createPrompt, question, false));
510510
connect(futureWatcher, &QFutureWatcher<QString>::finished, this, &InlineChatWidgetPrivate::handleCreatePromptFinished);
511511
futureWatcherList << futureWatcher;
512512
return true;

0 commit comments

Comments
 (0)