mirror of https://github.com/langgenius/dify.git
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