diff --git a/QodeAssistUtils.hpp b/QodeAssistUtils.hpp index 677c1a6..1087f36 100644 --- a/QodeAssistUtils.hpp +++ b/QodeAssistUtils.hpp @@ -47,7 +47,6 @@ inline void logMessage(const QString &message, bool silent = true) return; const QString prefixedMessage = QLatin1String("[Qode Assist] ") + message; - qDebug() << prefixedMessage; if (silent) { Core::MessageManager::writeSilently(prefixedMessage); } else { diff --git a/core/LLMRequestHandler.cpp b/core/LLMRequestHandler.cpp index bb5b3ae..c05b8bb 100644 --- a/core/LLMRequestHandler.cpp +++ b/core/LLMRequestHandler.cpp @@ -73,8 +73,6 @@ void LLMRequestHandler::handleLLMResponse(QNetworkReply *reply, const QJsonObject &request, const LLMConfig &config) { - qDebug() << "Handling LLM response" << request; - QString &accumulatedResponse = m_accumulatedResponses[reply]; bool isComplete = config.provider->handleResponse(reply, accumulatedResponse); diff --git a/settings/GeneralSettings.cpp b/settings/GeneralSettings.cpp index 58875c8..be28fb1 100644 --- a/settings/GeneralSettings.cpp +++ b/settings/GeneralSettings.cpp @@ -59,8 +59,8 @@ GeneralSettings::GeneralSettings() enableLogging.setDefaultValue(false); multiLineCompletion.setSettingsKey(Constants::MULTILINE_COMPLETION); - multiLineCompletion.setDefaultValue(true); - multiLineCompletion.setLabelText(Tr::tr("Enable Multiline Completion")); + multiLineCompletion.setDefaultValue(false); + multiLineCompletion.setLabelText(Tr::tr("Enable Multiline Completion(experimental)")); startSuggestionTimer.setSettingsKey(Constants::START_SUGGESTION_TIMER); startSuggestionTimer.setLabelText(Tr::tr("with delay(ms)")); @@ -167,7 +167,7 @@ GeneralSettings::GeneralSettings() Row{selectModels, modelName, fimModelIndicator}, Row{fimPrompts, Stretch{1}}}}, Space{16}, - Group{title(Tr::tr("AI Chat")), + Group{title(Tr::tr("AI Chat(experimental)")), Column{Row{chatLlmProviders, Stretch{1}}, Row{chatUrl, chatEndPoint, chatUrlIndicator}, Row{chatSelectModels, chatModelName, chatModelIndicator}, @@ -184,10 +184,12 @@ void GeneralSettings::setupConnections() connect(&llmProviders, &Utils::SelectionAspect::volatileValueChanged, this, [this]() { auto providerName = llmProviders.displayForIndex(llmProviders.volatileValue()); setCurrentFimProvider(providerName); + modelName.setVolatileValue(""); }); connect(&chatLlmProviders, &Utils::SelectionAspect::volatileValueChanged, this, [this]() { auto providerName = chatLlmProviders.displayForIndex(chatLlmProviders.volatileValue()); setCurrentChatProvider(providerName); + chatModelName.setVolatileValue(""); }); connect(&fimPrompts, &Utils::SelectionAspect::volatileValueChanged, this, [this]() {