INNER CODE UNIT · Python

lifespan

ahmad2b/postbot3000 · agent-service/app/main.py:18

async def lifespan(app: FastAPI):
    yield

app = FastAPI(
        title="PostBot 3000 - Agent Service",
        version="0.0.1",
        lifespan=lifespan
    )

@app.get("/health")
async def health_check():
    return {"status": "ok"}



add_routes(
    app, 
    agent_graph,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…