Skip to content

Sync from internal repo (2026/07/07)#213

Merged
ccampbell-aai merged 1 commit into
masterfrom
1D7569FD6C40A22DDB50154A9AE3A8C1
Jul 7, 2026
Merged

Sync from internal repo (2026/07/07)#213
ccampbell-aai merged 1 commit into
masterfrom
1D7569FD6C40A22DDB50154A9AE3A8C1

Conversation

@ccampbell-aai

@ccampbell-aai ccampbell-aai commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Copybara sync from the internal repo:

  • sample_rate is now optional for Opus encodings (opus, ogg_opus) — the Opus stream is self-describing and the server ignores the value. A pydantic validator (v1- and v2-compatible) still requires it for PCM encodings, where omitting it would silently fall back to the server's 16 kHz default and garble non-16k audio. When omitted, the parameter is not sent on the wire.
  • Documentation/comment updates on the Encoding enum and language_codes fields to match.

Resolves the Aikido finding raised on #211 (comments said sample_rate was "optional and ignored" while the field was required — it is now genuinely optional for Opus).

Bumps package version to 0.64.26.

GitOrigin-RevId: 2742649adc9f507c8b2563088b5a1b125440d875
@ccampbell-aai ccampbell-aai changed the title chore: sync sdk code with DeepLearning repo Sync from internal repo (2026/07/07) Jul 7, 2026
Comment thread assemblyai/streaming/v3/models.py
@ccampbell-aai ccampbell-aai merged commit 4e805eb into master Jul 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants