mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-17 20:44:32 -04:00
refactor: Make DocumentContextReader::prepareContext() testable (#96)
This commit is contained in:
committed by
GitHub
parent
e218699e64
commit
69a8aa80d9
@ -267,7 +267,7 @@ LLMCore::ContextData LLMClientInterface::prepareContext(
|
||||
|
||||
Context::DocumentContextReader reader(
|
||||
textDocument->document(), textDocument->mimeType(), textDocument->filePath().toString());
|
||||
return reader.prepareContext(lineNumber, cursorPosition);
|
||||
return reader.prepareContext(lineNumber, cursorPosition, Settings::codeCompletionSettings());
|
||||
}
|
||||
|
||||
void LLMClientInterface::sendCompletionToClient(
|
||||
|
Reference in New Issue
Block a user