Fix dead code in websocket.py — stream_start never sent on first message
websocket.py lines 301-308 were indented inside the `except` block after
`raise`, making them unreachable. This meant `stream_start` and
`_stream_to_client` never ran for the initial message send, so the client
saw no response until page reload (when the reconnect path took over).

Fix: dedent lines 301-308 so they execute after the try/except/finally
block on the normal success path.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 87c7a87 commit e4d3eeb8b0388300fff8bcf187f60fc833bfd0b0
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 26 May
Showing 1 changed file
View
navi/api/websocket.py