Spaces:
Sleeping
Sleeping
File size: 1,043 Bytes
4a693cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ################################################################################
# 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. π |