fix(typing): resolve mypy errors in agent.gns3_copilot.utils.parse_tool_content

This commit is contained in:
Mark Paronyan committed 2026-09-29 08:52:38 +03:00
1 parent 5cb1b8e3d2
commit 4ae6b5338d
2 files changed
+1 -4

No files matched your search

@@ -214,9 +214,7 @@ def parse_tool_content(
return content
# Handle unsupported types
error_msg = ( # type: ignore[unreachable]
f"Content must be str, dict, list, int, float, bool, or None, got {type(content).__name__}"
)
error_msg = f"Content must be str, dict, list, int, float, bool, or None, got {type(content).__name__}"
logger.error(error_msg)
if strict_mode: