Aller directement au contenu principal

openhands.server.routes.new_conversation

new_conversation

@app.post('/conversations')
async def new_conversation(request: Request, data: InitSessionRequest)

Initialize a new session or join an existing one. After successful initialization, the client should connect to the WebSocket using the returned conversation ID