mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-30 01:59:11 -04:00
refactor: Move to agent architecture
This commit is contained in:
@@ -19,7 +19,7 @@ struct AgentConfig
|
||||
QString providerInstance;
|
||||
QString model;
|
||||
QString endpoint;
|
||||
QString role;
|
||||
QString systemPrompt;
|
||||
QStringList tags;
|
||||
|
||||
struct Match
|
||||
@@ -39,17 +39,16 @@ struct AgentConfig
|
||||
|
||||
bool enableThinking = false;
|
||||
bool enableTools = false;
|
||||
bool cachePrompt = false;
|
||||
QString cacheTtl;
|
||||
QStringList cacheBreakpoints;
|
||||
|
||||
QString messageFormat;
|
||||
QJsonObject sampling;
|
||||
QJsonObject thinking;
|
||||
QString context;
|
||||
QJsonObject body;
|
||||
QString extendsName;
|
||||
bool abstract = false;
|
||||
bool hidden = false;
|
||||
|
||||
QString sourcePath;
|
||||
bool overridesBundled = false;
|
||||
bool isUserSource() const { return !sourcePath.startsWith(QLatin1StringView{":/"}); }
|
||||
|
||||
static QString validate(const AgentConfig &config);
|
||||
|
||||
Reference in New Issue
Block a user