Skip to content

Commit 7dd53dd

Browse files
committed
chore: ruff format
1 parent 664f52e commit 7dd53dd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

astrbot/core/astr_agent_hooks.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ async def on_tool_end(
6060
if (
6161
platform_name == "webchat"
6262
and tool.name
63-
in ["web_search_baidu", "web_search_tavily", "web_search_bocha", "web_search_brave"]
63+
in [
64+
"web_search_baidu",
65+
"web_search_tavily",
66+
"web_search_bocha",
67+
"web_search_brave",
68+
]
6469
and len(run_context.messages) > 0
6570
and tool_result
6671
and len(tool_result.content)

0 commit comments

Comments
 (0)