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