feat: 阿里巴巴千问模型支持 Function calling

This commit is contained in:
EvanWu
2025-08-05 17:42:52 +08:00
parent fe484fd38a
commit 4e3f166d67
2 changed files with 15 additions and 2 deletions

View File

@@ -347,6 +347,12 @@ export function showPlugins(provider: ServiceProvider, model: string) {
if (provider == ServiceProvider.Google && !model.includes("vision")) {
return true;
}
if (
provider == ServiceProvider.Alibaba &&
(model.includes("qwen") || model.includes("deepseek"))
) {
return true;
}
return false;
}