mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-08-28 21:07:02 -04:00
feat: Improve describe recent changes in system prompt (#113)
Co-authored-by: Petr Mironychev <[email protected]>
This commit is contained in:
co-authored by
Petr Mironychev
parent
f94c79a5ff
commit
3aae923d43
@@ -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};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user