mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-16 20:50:25 +00:00
Fix mypy warning, closes #1146
This commit is contained in:
parent
30e0c4abe8
commit
65dde782b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue