fix: reorder routes - mount Gradio after API routes to avoid 404
SIN-Deploy-Bot
86229ef
- Move app.mount('/') to end of file after all @app decorators
- This ensures /a2a/v1, /health, /.well-known/* are not shadowed by Gradio catch-all
- Standard FastAPI pattern for mixed API+Gradio apps
fix: rename app.py to main.py to avoid package import conflict
SIN-Deploy-Bot
91cba07
- uvicorn now uses main:app instead of app:app
- Prevents Python from importing the 'app' package instead of app.py
feat: clone OpenSIN-Code repo at runtime if missing
SIN-Deploy-Bot
9691490
- Add git clone in start.sh using GITHUB_TOKEN
- Ensure REPO_DIR is set correctly
- Fail fast if GITHUB_TOKEN not set
- Update opencode config with correct model: opencode/qwen3.6-plus-free
fix: add execute permission for start.sh to prevent runtime crash
SIN-Deploy-Bot
629e102
The container was failing with 'permission denied' on /app/start.sh.
Adding chmod +x after COPY ensures the entrypoint is executable.