""" Fellowship — entry point. Run with: uvicorn main:app --reload """ import logging from fastapi import FastAPI from fellowship.api.routes import sessions from fellowship.config import settings from fellowship.logger import setup_logging setup_logging() logger = logging.getLogger(__name__) app = FastAPI( title="Fellowship", description="Multi-bot LLM session orchestration API.", version="0.1.0", docs_url="/docs", openapi_url="/openapi.json", ) app.include_router(sessions.router, prefix="/v1") @app.on_event("startup") async def startup() -> None: logger.info("Fellowship starting up") @app.on_event("shutdown") async def shutdown() -> None: logger.info("Fellowship shutting down")