We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7879fc commit ce1efcaCopy full SHA for ce1efca
src/aichatassistant.cpp
@@ -163,6 +163,7 @@ void AIChatAssistant::slotSend()
163
164
QJsonObject dd;
165
dd["model"]=config->ai_preferredModel;
166
+ dd["temperature"]=config->ai_temperature;
167
//dd["stream"] = "True";
168
if(!config->ai_systemPrompt.isEmpty()){
169
// add system prompt to query
@@ -272,6 +273,9 @@ void AIChatAssistant::slotOptions()
272
273
auto *ly=new QVBoxLayout();
274
auto *leSystemPrompt=new QTextEdit();
275
leSystemPrompt->setText(config->ai_systemPrompt);
276
+ if(config->ai_systemPrompt.isEmpty()){
277
+ leSystemPrompt->setPlaceholderText(tr("System prompt"));
278
+ }
279
ly->addWidget(leSystemPrompt);
280
auto *leTemp=new QLineEdit();
281
leTemp->setText(config->ai_temperature);
0 commit comments