From e86a661ff64b89b1cc7b103f1d7f5975ee16b72b Mon Sep 17 00:00:00 2001 From: Depeng Sun Date: Thu, 6 Nov 2025 23:36:28 +1030 Subject: [PATCH] Remove unnecessary code for adding the app directory to the Python path in main.py --- app/main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/main.py b/app/main.py index 51705de..2431eed 100644 --- a/app/main.py +++ b/app/main.py @@ -6,11 +6,6 @@ from fastapi.middleware.cors import CORSMiddleware from fastapi_mcp.server import FastApiMCP -# Add the app directory to Python path for absolute imports -app_dir = Path(__file__).parent -sys.path.insert(0, str(app_dir)) - - settings = get_settings() app = FastAPI(