|
Fix WebSocket state corruption preventing messages after first reply
Replace concurrent WS reads (_stream_recv + recv_task.cancel()) with
HTTP stop endpoint (POST /sessions/{id}/stop). Cancelling a background
receive_text() task corrupted Starlette's WS state, breaking all
subsequent receives. Now the WS has a single reader at all times.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|---|
|
|
| client/js/app.js |
|---|
| client/js/ws.js |
|---|
| navi/api/websocket.py |
|---|