feat: Add llama.cpp modellisting and thinking support

This commit is contained in:
Petr Mironychev
2026-04-26 23:06:54 +02:00
parent 4d320bc065
commit 46aa53e726
2 changed files with 22 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ ProviderSettings::ProviderSettings()
// Ollama with BasicAuth Settings
ollamaBasicAuthApiKey.setSettingsKey(Constants::OLLAMA_BASIC_AUTH_API_KEY);
ollamaBasicAuthApiKey.setLabelText(Tr::tr("Ollama BasicAuth API Key:"));
ollamaBasicAuthApiKey.setLabelText(Tr::tr("Ollama(Bearer) API Key:"));
ollamaBasicAuthApiKey.setDisplayStyle(Utils::StringAspect::LineEditDisplay);
ollamaBasicAuthApiKey.setPlaceHolderText(Tr::tr("Enter your API key here"));
ollamaBasicAuthApiKey.setHistoryCompleter(Constants::OLLAMA_BASIC_AUTH_API_KEY_HISTORY);