feat: add support acp in common chat (#369)

This commit is contained in:
Petr Mironychev
2026-07-21 13:10:00 +02:00
committed by GitHub
parent af85efb554
commit 442263a6a7
158 changed files with 14270 additions and 4118 deletions

View File

@@ -29,25 +29,20 @@ struct InvokedSkill
bool operator==(const InvokedSkill &other) const = default;
};
struct LinkedFile
struct TurnContextNeeds
{
QString fileName;
QString content;
bool systemPrompt = true;
bool operator==(const LinkedFile &other) const = default;
bool operator==(const TurnContextNeeds &other) const = default;
};
struct TurnContext
{
QString basePrompt;
std::optional<QString> rolePrompt;
ProjectInfo project;
QString projectRules;
QString alwaysOnSkills;
QString skillsCatalog;
QList<InvokedSkill> invokedSkills;
QList<QString> linkedFilePaths;
QList<LinkedFile> linkedFiles;
bool operator==(const TurnContext &other) const = default;
};