fix: add the default value to the dark icon (#22149)

This commit is contained in:
Novice
2025-07-10 17:13:48 +08:00
committed by GitHub
parent 7b2cab5767
commit 0e793a660d

View File

@@ -329,6 +329,7 @@ class ToolNode(BaseNode[ToolNodeData]):
icon = current_plugin.declaration.icon
except StopIteration:
pass
icon_dark = None
try:
builtin_tool = next(
provider