omi
omi copied to clipboard
Python SDK Parakeet cancel closes without finalize
On current main, cancelling ParakeetTranscriber.run() in sdks/python/omi/stt/parakeet.py tears down the websockets connection and never sends Parakeet's finalize frame. Remaining transcription results can be dropped. Dart/RN/TS Parakeet stop() already send finalize before close. Python Deepgram counterpart: #13626.
The Python client has no stop() method; caller cancellation is the shutdown path. Server EOF still returns and must not send finalize.
Reproduction with a patched websockets.connect fake (no live Parakeet, credentials, or audio): cancelling run() closed the socket with no finalize text frame.