refactor: Decouple prompt template manager from their users (#115)

This makes it possible to test the user classes
This commit is contained in:
Povilas Kanapickas
2025-03-10 03:13:10 +02:00
committed by GitHub
parent b6f36d61ae
commit 98e1047bf1
13 changed files with 179 additions and 20 deletions

View File

@ -24,16 +24,16 @@
#pragma once
#include <languageclient/client.h>
#include "LSPCompletion.hpp"
#include <languageclient/client.h>
#include <llmcore/IPromptProvider.hpp>
namespace QodeAssist {
class QodeAssistClient : public LanguageClient::Client
{
public:
explicit QodeAssistClient();
explicit QodeAssistClient(LLMCore::IPromptProvider *promptProvider);
~QodeAssistClient() override;
void openDocument(TextEditor::TextDocument *document) override;