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

+1 -1
View File
@@ -21,7 +21,7 @@ API routes for GNS3 Copilot Chat integration.
import json
import logging
import uuid
from typing import Optional
from typing import Optional, List
from fastapi import APIRouter, Depends, HTTPException, Request, status
from fastapi.responses import StreamingResponse