mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-14 02:09:22 -04:00
refactor: add to template agent roles
This commit is contained in:
@@ -334,14 +334,7 @@ Templates::ContextData LLMClientInterface::prepareContext(
|
||||
|
||||
Context::DocumentContextReader
|
||||
reader(documentInfo.document, documentInfo.mimeType, documentInfo.filePath);
|
||||
const PluginLLMCore::ContextData legacy
|
||||
= reader.prepareContext(lineNumber, cursorPosition, m_completeSettings);
|
||||
|
||||
Templates::ContextData context;
|
||||
context.prefix = legacy.prefix;
|
||||
context.suffix = legacy.suffix;
|
||||
context.fileContext = legacy.fileContext;
|
||||
return context;
|
||||
return reader.prepareContext(lineNumber, cursorPosition, m_completeSettings);
|
||||
}
|
||||
|
||||
Context::ContextManager *LLMClientInterface::contextManager() const
|
||||
|
||||
Reference in New Issue
Block a user