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:
@ -224,14 +224,9 @@ void OpenAICompatProvider::sendRequest(
|
||||
.arg(requestId, clientId, url.toString()));
|
||||
}
|
||||
|
||||
bool OpenAICompatProvider::supportsTools() const
|
||||
PluginLLMCore::ProviderCapabilities OpenAICompatProvider::capabilities() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OpenAICompatProvider::supportImage() const
|
||||
{
|
||||
return true;
|
||||
return PluginLLMCore::ProviderCapability::Tools | PluginLLMCore::ProviderCapability::Image;
|
||||
}
|
||||
|
||||
void OpenAICompatProvider::cancelRequest(const PluginLLMCore::RequestID &requestId)
|
||||
|
||||
Reference in New Issue
Block a user