feat: Improve describe recent changes in system prompt (#113)

Co-authored-by: Petr Mironychev <[email protected]>
This commit is contained in:
Povilas Kanapickas
2025-03-08 08:58:28 +01:00
committed by GitHub
co-authored by Petr Mironychev
parent f94c79a5ff
commit 3aae923d43
2 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -275,8 +275,8 @@ LLMCore::ContextData DocumentContextReader::prepareContext(
fileContext.append("\n ").append(getLanguageAndFileInfo());
if (settings.useProjectChangesCache())
fileContext.append("\n ").append(
ChangesManager::instance().getRecentChangesContext(m_textDocument));
fileContext.append("Recent Project Changes Context:\n ")
.append(ChangesManager::instance().getRecentChangesContext(m_textDocument));
return {.prefix = contextBefore, .suffix = contextAfter, .fileContext = fileContext};
}