step 8 complete: REST + WebSocket API routes for chat, plans, storage, vectors, backup, plugins, billing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
17
app/main.py
17
app/main.py
@@ -34,13 +34,16 @@ def create_app() -> FastAPI:
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
# Routers (registered when implemented)
|
||||
# from app.api.routes import auth, chat, plans, backup, billing
|
||||
# app.include_router(auth.router, prefix="/api/v1")
|
||||
# app.include_router(chat.router, prefix="/api/v1")
|
||||
# app.include_router(plans.router, prefix="/api/v1")
|
||||
# app.include_router(backup.router, prefix="/api/v1")
|
||||
# app.include_router(billing.router, prefix="/api/v1")
|
||||
from app.api.routes import auth, backup, billing, chat, plans, plugins, storage, vectors
|
||||
|
||||
app.include_router(auth.router, prefix="/api/v1")
|
||||
app.include_router(chat.router, prefix="/api/v1")
|
||||
app.include_router(plans.router, prefix="/api/v1")
|
||||
app.include_router(storage.router, prefix="/api/v1")
|
||||
app.include_router(vectors.router, prefix="/api/v1")
|
||||
app.include_router(backup.router, prefix="/api/v1")
|
||||
app.include_router(plugins.router, prefix="/api/v1")
|
||||
app.include_router(billing.router, prefix="/api/v1")
|
||||
|
||||
@app.get("/api/v1/health", tags=["health"])
|
||||
async def health() -> dict:
|
||||
|
||||
Reference in New Issue
Block a user