fix(typing): resolve mypy errors in agent.gns3_copilot.gns3_client.api_handlers

This commit is contained in:
Mark Paronyan committed 2026-09-29 09:46:31 +03:00
1 parent 9882eba088
commit bc27c4814f
4 files changed
+11 -8

No files matched your search

@@ -230,6 +230,8 @@ class GNS3CreateNodeTool(BaseTool):
},
gns3_ctx,
)
if isinstance(created, list):
raise RuntimeError("Unexpected batch response when creating a single node")
if "error" in created:
raise RuntimeError(created["error"])
node_info = {