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

This commit is contained in:
Mark Paronyan 2026-09-28 05:01:12 +00:00
parent 0c9f6aa9e3
commit 890093de01
No known key found for this signature in database
GPG Key ID: 8DC7338A87FE22F8
2 changed files with 1 additions and 2 deletions

View File

@ -347,7 +347,7 @@ def get_gns3_server_host() -> str:
host = get_gns3_server_host()
print(f"GNS3 server host: {host}")
"""
url = _detect_url_for_api()
url = _detect_url_for_api() or DEFAULT_GNS3_URL
# Extract host from URL
# URL format: protocol://host:port

View File

@ -300,7 +300,6 @@ module = [
"gns3server.agent.gns3_copilot.agent_service", # 8
"gns3server.agent.gns3_copilot.chat_sessions_repository", # 8
"gns3server.agent.gns3_copilot.gns3_client.api_handlers", # 10
"gns3server.agent.gns3_copilot.gns3_client.connector_factory", # 1
"gns3server.agent.gns3_copilot.gns3_client.project_inventory", # 2
"gns3server.agent.gns3_copilot.skills.loader", # 1
"gns3server.agent.gns3_copilot.skills.manager", # 4