feat(streaming): add universal-3-6-pro speech model - #233
Merged
Conversation
Adds `universal-3-6-pro` to the streaming `SpeechModel` enum so it can be selected via `StreamingParameters(speech_model=...)`. The model name is passed straight through to the `speech_model` query parameter, so no other changes are needed. Bumps the version to 1.1.0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ccampbell-aai
approved these changes
Sep 1, 2026
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.
Summary
Adds
universal-3-6-proto the streamingSpeechModelenum so it can be selected viaStreamingParameters:The client passes
speech_modelstraight through to thespeech_modelquery parameter with no allowlist validation, so the enum member is the only change needed. It applies to bothRealTimeTranscriberandAsyncRealTimeTranscriber, which share these models.Scope is streaming only — the pre-recorded
SpeechModeland the syncSyncSpeechModelare untouched.Changes
assemblyai/streaming/v3/models.py— adduniversal_3_6_protoSpeechModeltests/unit/test_streaming.py— assert the model reaches the connection URL, mirroring the existinguniversal-3-5-protestassemblyai/__version__.py— 1.1.0Testing
pytest tests/unit— 469 passed, 0 failedruff checksurfaces 10 pre-existingI001import-sort errors intests/unit/test_*.pyfiles this PR doesn't touch; nothing newruff format --checkclean on the changed files🤖 Generated with Claude Code