mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
committed by
GitHub
parent
0403b460f1
commit
7c69672301
@@ -4,7 +4,7 @@ import agenthub # noqa F401 (we import this to get the agents registered)
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
# This endpoint recieves events from the client (i.e. the browser)
|
||||
# This endpoint receives events from the client (i.e. the browser)
|
||||
@app.websocket("/ws")
|
||||
async def websocket_endpoint(websocket: WebSocket):
|
||||
await websocket.accept()
|
||||
|
||||
Reference in New Issue
Block a user