Skip to content

Commit b1c91b5

Browse files
committed
format
1 parent ff91f24 commit b1c91b5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hud/environment/environment.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,7 @@ async def _env_list_tools(self) -> list[mcp_types.Tool]:
408408
"""Return all tools including those from connectors."""
409409
return self._router.tools
410410

411-
async def _env_call_tool(
412-
self, name: str, arguments: dict[str, Any] | None = None
413-
) -> list[Any]:
411+
async def _env_call_tool(self, name: str, arguments: dict[str, Any] | None = None) -> list[Any]:
414412
"""Route tool calls through our router (handles both local and connector tools)."""
415413
result = await self._execute_tool(name, arguments or {})
416414
return result.content or []

hud/environment/tests/test_environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,4 +326,4 @@ def test_setup_handlers_registers_custom_handlers(self) -> None:
326326
assert hasattr(env, "_env_list_tools")
327327
assert hasattr(env, "_env_call_tool")
328328
assert callable(env._env_list_tools)
329-
assert callable(env._env_call_tool)
329+
assert callable(env._env_call_tool)

0 commit comments

Comments
 (0)