diff --git a/openhands/server/app.py b/openhands/server/app.py index 1ece8476151a0..151e16eb3d56d 100644 --- a/openhands/server/app.py +++ b/openhands/server/app.py @@ -9,6 +9,7 @@ ) import openhands.agenthub # noqa F401 (we import this to get the agents registered) +from openhands import __version__ from openhands.server.middleware import ( AttachConversationMiddleware, InMemoryRateLimiter, @@ -36,7 +37,12 @@ async def _lifespan(app: FastAPI): yield -app = FastAPI(lifespan=_lifespan) +app = FastAPI( + title='OpenHands', + description='OpenHands: Code Less, Make More', + version=__version__, + lifespan=_lifespan, +) app.add_middleware( LocalhostCORSMiddleware, allow_credentials=True,