Spaces:
Sleeping
Sleeping
| ################################################################################ | |
| # FILE: backend/app/api/v1/api.py | |
| # VERSION: 1.2.0 | SYSTEM: Orbit Protocol | |
| ################################################################################ | |
| from fastapi import APIRouter | |
| # We are importing the versioned routers to ensure data integrity | |
| from app.api.v1 import forex, tasks | |
| # THE FIX: We are finally inviting orbit_ai to the party so it stops giving 404s π | |
| from app.routers import med_scholar, orbit_ai | |
| api_router = APIRouter() | |
| # Mount the Forex Guardian π | |
| api_router.include_router(forex.router, prefix="/forex", tags=["Risk Management"]) | |
| # Mount the Med-Scholar (The Dean) π©Ί | |
| api_router.include_router(med_scholar.router, tags=["Syllabus Vault"]) | |
| # Mount the Life Tasks π | |
| api_router.include_router(tasks.router, prefix="/tasks", tags=["Life Admin"]) | |
| # Mount the Brain! π§ (This is what you were missing) | |
| api_router.include_router(orbit_ai.router, tags=["Orbit-AI"]) | |
| # Vibe Check: All routes are now synchronized. WAGMI. π |