mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-18 21:14:34 -04:00
feat: Add filter templates for each provider
This commit is contained in:
@ -49,6 +49,17 @@ public:
|
||||
request["messages"] = messages;
|
||||
}
|
||||
QString description() const override { return "chat without tokens"; }
|
||||
bool isSupportProvider(LLMCore::ProviderID id) const override
|
||||
{
|
||||
switch (id) {
|
||||
case QodeAssist::LLMCore::ProviderID::OpenAICompatible:
|
||||
case QodeAssist::LLMCore::ProviderID::OpenRouter:
|
||||
case QodeAssist::LLMCore::ProviderID::LMStudio:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace QodeAssist::Templates
|
||||
|
Reference in New Issue
Block a user