google gemini support function call

This commit is contained in:
lloydzhou
2024-10-03 20:28:15 +08:00
parent cea5b91f96
commit 450766a44b
3 changed files with 87 additions and 112 deletions

View File

@@ -284,6 +284,9 @@ export function showPlugins(provider: ServiceProvider, model: string) {
if (provider == ServiceProvider.Anthropic && !model.includes("claude-2")) {
return true;
}
if (provider == ServiceProvider.Google && !model.includes("vision")) {
return true;
}
return false;
}