mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-05-30 10:59:30 -04:00
feat: Add llama.cpp api key support
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "settings/CodeCompletionSettings.hpp"
|
||||
#include "settings/QuickRefactorSettings.hpp"
|
||||
#include "settings/GeneralSettings.hpp"
|
||||
#include "settings/ProviderSettings.hpp"
|
||||
#include "tools/ToolsRegistration.hpp"
|
||||
|
||||
#include <QJsonArray>
|
||||
@@ -31,7 +32,7 @@ QString LlamaCppProvider::name() const
|
||||
|
||||
QString LlamaCppProvider::apiKey() const
|
||||
{
|
||||
return {};
|
||||
return Settings::providerSettings().llamaCppApiKey();
|
||||
}
|
||||
|
||||
QString LlamaCppProvider::url() const
|
||||
|
||||
Reference in New Issue
Block a user