mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-19 21:44:44 -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
@ -27,13 +27,15 @@
|
||||
#include "LSPCompletion.hpp"
|
||||
#include <languageclient/client.h>
|
||||
#include <llmcore/IPromptProvider.hpp>
|
||||
#include <llmcore/IProviderRegistry.hpp>
|
||||
|
||||
namespace QodeAssist {
|
||||
|
||||
class QodeAssistClient : public LanguageClient::Client
|
||||
{
|
||||
public:
|
||||
explicit QodeAssistClient(LLMCore::IPromptProvider *promptProvider);
|
||||
explicit QodeAssistClient(
|
||||
LLMCore::IProviderRegistry &providerRegistry, LLMCore::IPromptProvider *promptProvider);
|
||||
~QodeAssistClient() override;
|
||||
|
||||
void openDocument(TextEditor::TextDocument *document) override;
|
||||
|
Reference in New Issue
Block a user