chore: apply ruff's pyflakes linter rules (#2420)

This commit is contained in:
Bowen Liang authored and GitHub committed 2024-02-08 14:11:10 +08:00
1 parent 1b04382a9b
commit 14a19a3da9
34 files changed
+91 -86

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ class AppMeta(WebApiResource):
# get all tools
tools = agent_config.get('tools', [])
url_prefix = (current_app.config.get("CONSOLE_API_URL")
+ f"/console/api/workspaces/current/tool-provider/builtin/")
+ "/console/api/workspaces/current/tool-provider/builtin/")
for tool in tools:
keys = list(tool.keys())
if len(keys) >= 4: