Repository navigation
stt transcribe examples crash when more than 2 arguments are supp... - #92
Merged
Merged
Conversation
Merged
charlotte-zhuang
pushed a commit
that referenced
this pull request
Jul 17, 2026
Automated Release PR --- ## [3.4.0-b1](v3.3.0...v3.4.0-b1) (2026-07-17) ### Features * **stt:** register STTAutoFinalizeCloseCommand as a named model ([13cf03a](13cf03a)) ### Bug Fixes * catch asyncio.TimeoutError in async WebSocket receive() ([#91](#91)) ([d2f5564](d2f5564)) * correct required properties for tts and stt ws errors ([988e6aa](988e6aa)) * stt transcribe examples crash when more than 2 arguments are supplied ([#92](#92)) ([b43e8a0](b43e8a0)) ### Refactors * **stt:** inline auto-finalize command models into request union ([2021517](2021517)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: cartesia-stlc-ci[bot] <294976538+cartesia-stlc-ci[bot]@users.noreply.github.com>
charlotte-zhuang
pushed a commit
that referenced
this pull request
Jul 21, 2026
Automated Release PR --- Promotes `3.4.0-b1` to the stable **3.4.0** release. Version bumped in `pyproject.toml`, `src/cartesia/_version.py`, and `.release-please-manifest.json`; changelog re-cut against **v3.3.0** (v3.3.0 style), adding items that were missing/undersold in the b1 notes: `sonic-latest`, the `ar/he/ta/te/th` languages, and the full STT key-term/turn-config feature set (previously only `STTAutoFinalizeCloseCommand` was listed). The b2 trigger-commit chore entry is dropped. ## 3.4.0 (2026-07-21) Full Changelog: [v3.3.0...v3.4.0](v3.3.0...v3.4.0) ### Features * **stt:** add turn configs and key term prompting ([4bdcfa0](4bdcfa0)) * **stt:** register STTAutoFinalizeCloseCommand as a named model ([13cf03a](13cf03a)) * **tts:** add sonic-latest model ([09fa0a7](09fa0a7)) * **voices:** add ar, he, ta, te, and th localization languages ([09fa0a7](09fa0a7)) ### Bug Fixes * catch asyncio.TimeoutError in async WebSocket receive() ([#91](#91)) ([d2f5564](d2f5564)) * correct required properties for tts and stt ws errors ([988e6aa](988e6aa)) * stt transcribe examples crash when more than 2 arguments are supplied ([#92](#92)) ([b43e8a0](b43e8a0)) ### Refactors * **stt:** inline auto-finalize command models into request union ([2021517](2021517)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: cartesia-stlc-ci[bot] <294976538+cartesia-stlc-ci[bot]@users.noreply.github.com> Co-authored-by: Charlotte Zhuang <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #88.
The STT transcribe examples unpacked command-line arguments with
file_path, language = args, which raisedValueError: too many values to unpackwhenever more than two arguments were supplied. I changed both the sync and async examples to use the starred patternfile_path, language, *_ = argsso extra arguments are captured safely, consistent with the other examples in these files.I could not run the full suite in my environment, but the lint and file-level checks I could run on the changed files pass; CI should confirm the rest.