From 65dde782b7dfdacba7565378d742aa9e443d86c0 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 1 Jun 2025 17:03:44 -0700 Subject: [PATCH] Fix mypy warning, closes #1146 --- llm/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/cli.py b/llm/cli.py index 4912b4b..73847e1 100644 --- a/llm/cli.py +++ b/llm/cli.py @@ -2548,7 +2548,7 @@ def tools(): ) def tools_list(json_, python_tools): "List available tools that have been provided by plugins" - tools: Dict[str, Union[Tool, Type[Toolbox]]] = get_tools() + tools = get_tools() if python_tools: for code_or_path in python_tools: for tool in _tools_from_code(code_or_path):