feat(agent): update import paths for gns3_copilot modules

Updated import statements across multiple agent files to use absolute paths starting with `gns3server.agent.gns3_copilot` instead of relative `gns3_copilot` imports. This ensures proper module resolution within the gns3-server package structure and prevents import errors when the agent is executed from different contexts.
This commit is contained in:
YueGuobin committed 2026-03-04 12:27:50 +08:00
1 parent 73de248381
commit dde2a00c5b
17 files changed
+36 -28

No files matched your search

@@ -13,7 +13,7 @@ from typing import Any
from langchain.tools import BaseTool
from langchain_core.callbacks import CallbackManagerForToolRun
from gns3_copilot.gns3_client import Node, get_gns3_connector
from gns3server.agent.gns3_copilot.gns3_client import Node, get_gns3_connector
# Configure logging
logger = logging.getLogger(__name__)