mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-03-31 09:52:44 -04:00
refactor: Combine bool functions with capabilities to flag
This commit is contained in:
@ -237,14 +237,9 @@ void LlamaCppProvider::sendRequest(
|
||||
.arg(requestId, clientId, url.toString()));
|
||||
}
|
||||
|
||||
bool LlamaCppProvider::supportsTools() const
|
||||
PluginLLMCore::ProviderCapabilities LlamaCppProvider::capabilities() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool LlamaCppProvider::supportImage() const
|
||||
{
|
||||
return true;
|
||||
return PluginLLMCore::ProviderCapability::Tools | PluginLLMCore::ProviderCapability::Image;
|
||||
}
|
||||
|
||||
void LlamaCppProvider::cancelRequest(const PluginLLMCore::RequestID &requestId)
|
||||
|
||||
Reference in New Issue
Block a user