π OpenHands: AI-Driven Development
Fix: API meta for OpenHands (#6295)
tofarr541a445dfc00
diff --git a/openhands/server/app.py b/openhands/server/app.pyindex 1ece847615..151e16eb3d 100644--- a/openhands/server/app.py+++ b/openhands/server/app.py@@ -9,6 +9,7 @@ from fastapi import ()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,