mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-21 06:24:40 -04:00
refactor: Decouple LLMClientInterface from ProvidersManager (#120)
This will be needed for tests.
This commit is contained in:
committed by
GitHub
parent
98e1047bf1
commit
58c3e26e7f
@ -47,6 +47,7 @@
|
||||
#include "chat/ChatOutputPane.h"
|
||||
#include "chat/NavigationPanel.hpp"
|
||||
#include "llmcore/PromptProviderFim.hpp"
|
||||
#include "llmcore/ProvidersManager.hpp"
|
||||
#include "settings/GeneralSettings.hpp"
|
||||
#include "settings/ProjectSettingsPanel.hpp"
|
||||
#include "settings/SettingsConstants.hpp"
|
||||
@ -137,7 +138,8 @@ public:
|
||||
void restartClient()
|
||||
{
|
||||
LanguageClient::LanguageClientManager::shutdownClient(m_qodeAssistClient);
|
||||
m_qodeAssistClient = new QodeAssistClient(&m_promptProvider);
|
||||
m_qodeAssistClient
|
||||
= new QodeAssistClient(LLMCore::ProvidersManager::instance(), &m_promptProvider);
|
||||
}
|
||||
|
||||
bool delayedInitialize() final
|
||||
|
Reference in New Issue
Block a user