refactor: add to template agent roles

This commit is contained in:
Petr Mironychev
2026-06-04 16:21:34 +02:00
parent c151c5030b
commit 3179c0c358
113 changed files with 383 additions and 5292 deletions

View File

@@ -21,7 +21,7 @@ target_link_libraries(Context
QtCreator::Utils
QtCreator::ProjectExplorer
PRIVATE
PluginLLMCore
Common
QodeAssistSettings
)

View File

@@ -254,7 +254,7 @@ CopyrightInfo DocumentContextReader::copyrightInfo() const
return m_copyrightInfo;
}
PluginLLMCore::ContextData DocumentContextReader::prepareContext(
Templates::ContextData DocumentContextReader::prepareContext(
int lineNumber, int cursorPosition, const Settings::CodeCompletionSettings &settings) const
{
QString contextBefore;

View File

@@ -7,7 +7,7 @@
#include <texteditor/textdocument.h>
#include <QTextDocument>
#include <pluginllmcore/ContextData.hpp>
#include <sources/common/ContextData.hpp>
#include <settings/CodeCompletionSettings.hpp>
namespace QodeAssist::Context {
@@ -58,7 +58,7 @@ public:
CopyrightInfo copyrightInfo() const;
PluginLLMCore::ContextData prepareContext(
Templates::ContextData prepareContext(
int lineNumber, int cursorPosition, const Settings::CodeCompletionSettings &settings) const;
private: