fix: support deprecated tools

This commit is contained in:
Yeuoly 2024-03-18 18:45:29 +08:00
parent 4b561aec93
commit 487efcb206
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61
1 changed files with 4 additions and 0 deletions

View File

@ -509,6 +509,10 @@ class ToolManager:
# add provider into providers
credentials = db_builtin_provider.credentials
provider_name = db_builtin_provider.provider
if provider_name not in result_providers:
# the provider has been deleted
continue
result_providers[provider_name].is_team_authorization = True
# package builtin tool provider controller