feat: Add possibility to overwrite agent config tools enabling

This commit is contained in:
Petr Mironychev
2026-06-29 18:32:45 +02:00
parent 9cc57c602b
commit 080947c0dc
6 changed files with 188 additions and 5 deletions

View File

@@ -10,6 +10,7 @@
#include <AgentConfig.hpp>
class QCheckBox;
class QComboBox;
class QLabel;
class QLineEdit;
@@ -56,6 +57,8 @@ private:
void onResetModel();
void onChangeProvider(int index);
void onResetProvider();
void onToggleTools(bool enabled);
void onResetTools();
bool m_inApplyPalette = false;
bool m_providerComboPopulated = false;
@@ -88,6 +91,10 @@ private:
QPushButton *m_modelResetBtn = nullptr;
QLabel *m_effectiveUrl = nullptr;
QLabel *m_thinkingValue = nullptr;
QCheckBox *m_toolsCheck = nullptr;
QPushButton *m_toolsResetBtn = nullptr;
QLineEdit *m_filePatternsValue = nullptr;
QToolButton *m_rawToggle = nullptr;