mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-03 14:09:24 +00:00
fix(tools): annotate files dict as dict[str, FileInput] for mypy
This commit is contained in:
@@ -82,7 +82,7 @@ def extract_files_from_tool_result(
|
||||
A ``(files, message)`` tuple. ``files`` is ``None`` when no files
|
||||
were detected.
|
||||
"""
|
||||
files: dict[str, BaseFile] = {}
|
||||
files: dict[str, FileInput] = {}
|
||||
|
||||
if _is_base_file(result):
|
||||
key = _file_key(result, used=set(), default_index=0)
|
||||
|
||||
Reference in New Issue
Block a user