Spaces:
Runtime error
Runtime error
Download dev-agent/app/main.py from BeastGokul/MVP: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/spaces/BeastGokul/MVP/resolve/main/dev-agent/app/main.py
- Command line
-
hf download hf://spaces/BeastGokul/MVP/dev-agent/app/main.py
-
curl -L -o main.py https://huggingface.co/spaces/BeastGokul/MVP/resolve/main/dev-agent/app/main.py
529 Bytes
| from fastapi import FastAPI | |
| from .core.logging import setup_logging | |
| from .api.routes.health import router as health_router | |
| from .api.routes.sessions import router as sessions_router | |
| from .api.routes.agents import router as agents_router | |
| setup_logging() | |
| app = FastAPI(title="Universal Dev Agent", version="1.0.0") | |
| app.include_router(health_router) | |
| app.include_router(sessions_router, prefix="/api/v1") | |
| app.include_router(agents_router, prefix="/api/v1/agents") | |
| def health(): | |
| return {"status": "ok"} | |