chore: apply and fix flake8-bugbear lint rules (#4496)

This commit is contained in:
Bowen Liang
2024-05-20 16:34:13 +08:00
committed by GitHub
parent 5f4df34829
commit e8e213ad1e
4 changed files with 9 additions and 6 deletions

View File

@@ -361,7 +361,6 @@ class ToolManager:
:return: the label of the tool
"""
cls._builtin_tools_labels
if len(cls._builtin_tools_labels) == 0:
# init the builtin providers
cls.load_builtin_providers_cache()