From 00b7287e087bb0ec85a9782c7c88e10c7ca776c3 Mon Sep 17 00:00:00 2001 From: Petr Mironychev <9195189+Palm1r@users.noreply.github.com> Date: Wed, 29 Oct 2025 01:01:51 +0100 Subject: [PATCH] refactor: Back use tools by default and disabling auto apply --- settings/GeneralSettings.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/settings/GeneralSettings.cpp b/settings/GeneralSettings.cpp index 6383048..67a4dfe 100644 --- a/settings/GeneralSettings.cpp +++ b/settings/GeneralSettings.cpp @@ -212,7 +212,7 @@ GeneralSettings::GeneralSettings() "Enable tool use capabilities for the assistant(OpenAI function calling, Claude tools " "and etc) " "if plugin and provider support")); - useTools.setDefaultValue(false); + useTools.setDefaultValue(true); allowFileSystemRead.setSettingsKey(Constants::CA_ALLOW_FILE_SYSTEM_READ); allowFileSystemRead.setLabelText(Tr::tr("Allow File System Read Access for tools")); @@ -284,9 +284,12 @@ GeneralSettings::GeneralSettings() auto caGroup = Group{ title(TrConstants::CHAT_ASSISTANT), - Column{caGrid, - Column{useTools, allowFileSystemRead, allowFileSystemWrite, allowAccessOutsideProject, autoApplyFileEdits}, - caTemplateDescription}}; + Column{ + caGrid, + Column{ + useTools, allowFileSystemRead, allowFileSystemWrite, allowAccessOutsideProject, + /*autoApplyFileEdits*/}, + caTemplateDescription}}; auto rootLayout = Column{ Row{enableQodeAssist, Stretch{1}, Row{checkUpdate, resetToDefaults}},