mirror of
https://github.com/langgenius/dify.git
synced 2026-04-03 05:29:50 +08:00
fix: support deprecated tools
This commit is contained in:
parent
4b561aec93
commit
487efcb206
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user