mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-14 19:14:30 -04:00
Exclude current file cache from request
This commit is contained in:
@ -278,7 +278,7 @@ ContextData LLMClientInterface::prepareContext(const QJsonObject &request,
|
||||
|
||||
DocumentContextReader reader(widget->textDocument());
|
||||
|
||||
QString recentChanges = ChangesManager::instance().getRecentChangesContext();
|
||||
QString recentChanges = ChangesManager::instance().getRecentChangesContext(textDocument);
|
||||
|
||||
QString contextBefore = сontextBefore(widget, lineNumber, cursorPosition);
|
||||
QString contextAfter = сontextAfter(widget, lineNumber, cursorPosition);
|
||||
|
Reference in New Issue
Block a user