diff --git a/README.md b/README.md index d402150..e4cebbc 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ GITHUB_MCP_URL=https://your-mcp-server #### c. Run the backend ```bash -uvicorn main:app --reload --host 0.0.0.0 --port 8080 +uvicorn api.main:app --reload --host 0.0.0.0 --port 8080 ``` ### 2. Frontend (UI) diff --git a/UI/entrypoint.sh b/UI/entrypoint.sh index 740ddd8..c684db7 100644 --- a/UI/entrypoint.sh +++ b/UI/entrypoint.sh @@ -8,7 +8,7 @@ set -e mkdir -p /opt/app-root/src/config -cat < /opt/app-root/src/config/config.js +cat < /opt/app-root/src/config/config.ts window.APP_CONFIG = { API_BASE_URL: "${API_BASE_URL}" }; diff --git a/UI/index.html b/UI/index.html index 8d38357..bd9c90e 100644 --- a/UI/index.html +++ b/UI/index.html @@ -8,7 +8,7 @@
- + diff --git a/backend/Containerfile b/backend/Containerfile index b19f37a..2059d66 100644 --- a/backend/Containerfile +++ b/backend/Containerfile @@ -2,9 +2,9 @@ FROM python:3.11-slim WORKDIR /app -COPY backend/requirements.txt /app/requirements.txt +COPY requirements.txt /app/requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt -COPY backend /app/backend +COPY . /app/backend # (Entrypoint or CMD should be set in deployment, not here) diff --git a/backend/api/main.py b/backend/api/main.py index b13f732..b8a1a99 100644 --- a/backend/api/main.py +++ b/backend/api/main.py @@ -13,7 +13,7 @@ from autogen_agentchat.base import TaskResult # Import predefined models and manager -from backend.core.agents import AgentManager, IssueRequest, IssueResponse +from core.agents import AgentManager, IssueRequest, IssueResponse # Setup logging logger = logging.getLogger(__name__)