Spaces:
Runtime error
Runtime error
Download app/api/v1/api.py from junaidte14/aiverse: direct link, hf CLI and curl.
- Browser
- Download file 644 Bytes
-
https://huggingface.co/spaces/junaidte14/aiverse/resolve/main/app/api/v1/api.py
- Command line
-
hf download hf://spaces/junaidte14/aiverse/app/api/v1/api.py
-
curl -L -o api.py https://huggingface.co/spaces/junaidte14/aiverse/resolve/main/app/api/v1/api.py
644 Bytes
| """ | |
| API v1 router aggregator | |
| Combines all v1 endpoint routers | |
| """ | |
| from fastapi import APIRouter | |
| from app.api.v1.endpoints import ( | |
| users, | |
| auth, | |
| health, | |
| conversations, | |
| ai_multi, | |
| admin, | |
| rag, | |
| agents | |
| ) | |
| # Create main v1 router | |
| api_router = APIRouter() | |
| # Include all endpoint routers | |
| api_router.include_router(health.router) | |
| api_router.include_router(users.router) | |
| api_router.include_router(auth.router) | |
| api_router.include_router(conversations.router) | |
| api_router.include_router(ai_multi.router) | |
| api_router.include_router(rag.router) | |
| api_router.include_router(admin.router) | |
| api_router.include_router(agents.router) | |