normaliztion fix
This commit is contained in:
3
main.py
3
main.py
@@ -19,6 +19,7 @@ from core.executor import executor
|
||||
from core.tools.registry import registry
|
||||
from core.tools.base import ToolContext
|
||||
from tools.discovery import load_all_tools
|
||||
from core.tools.normalize import normalize_tool_name
|
||||
|
||||
|
||||
# =========================
|
||||
@@ -72,7 +73,7 @@ def bind_registry_tools() -> None:
|
||||
|
||||
try:
|
||||
return registry.run(
|
||||
name=bound_tool.name,
|
||||
name=normalize_tool_name(bound_tool.name),
|
||||
payload=kwargs,
|
||||
ctx=ctx
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user
