mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-21 06:24:40 -04:00
refactor: Decouple prompt template manager from their users (#115)
This makes it possible to test the user classes
This commit is contained in:
committed by
GitHub
parent
b6f36d61ae
commit
98e1047bf1
@ -44,9 +44,9 @@ using namespace Core;
|
||||
|
||||
namespace QodeAssist {
|
||||
|
||||
QodeAssistClient::QodeAssistClient()
|
||||
: LanguageClient::Client(
|
||||
new LLMClientInterface(Settings::generalSettings(), Settings::codeCompletionSettings()))
|
||||
QodeAssistClient::QodeAssistClient(LLMCore::IPromptProvider *promptProvider)
|
||||
: LanguageClient::Client(new LLMClientInterface(
|
||||
Settings::generalSettings(), Settings::codeCompletionSettings(), promptProvider))
|
||||
, m_recentCharCount(0)
|
||||
{
|
||||
setName("Qode Assist");
|
||||
|
Reference in New Issue
Block a user