Skip to content

Backport: feat(assemblyai): support universal-3-5-pro and expand the transcription provider (#16548)#16570

Open
gr2m wants to merge 1 commit into
release-v5.0from
backport-pr-16548-to-release-v5.0
Open

Backport: feat(assemblyai): support universal-3-5-pro and expand the transcription provider (#16548)#16570
gr2m wants to merge 1 commit into
release-v5.0from
backport-pr-16548-to-release-v5.0

Conversation

@gr2m

@gr2m gr2m commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Backport of #16548 to release-v5.0.

Adaptations for the v5 provider spec

The original PR targets the v7 (main) provider spec; this backport adapts it to v5:

  • The transcription model implements TranscriptionModelV2 (not V4). Because TranscriptionModelV2CallWarning only has 'unsupported-setting' and 'other' variants (no 'deprecated'), the best-model and wordBoost/boostParam deprecation warnings are emitted as type: 'other' warnings, with the affected setting name folded into the message. Tests were adjusted accordingly.
  • The WORKFLOW_SERIALIZE / WORKFLOW_DESERIALIZE hooks from the original PR are omitted — they do not exist in the v5 @ai-sdk/provider-utils.
  • providerMetadata is cast to SharedV2ProviderMetadata.
  • The provider-options schema stays inline in assemblyai-transcription-model.ts under v5's existing assemblyaiProviderOptionsSchema name; the new options were added there.
  • Docs/examples keep v5's experimental_transcribe as transcribe import and the examples/ai-core/src/transcribe/ layout.

All other changes (new models + speech_models routing, speech_model deprecation, diarization/audio-intelligence providerMetadata, raw response.body, new request params, ms→s segment-timing fix, honoring config.fetch for polling) match the original PR.

Verification

  • @ai-sdk/assemblyai: build ✓, tsc --build type-check ✓, 21 node + 21 edge tests ✓.

…transcription provider (#16548)

Backport of #16548 to release-v5.0.

Adapted to the v5 provider spec: the transcription model targets
TranscriptionModelV2 (not V4). Since TranscriptionModelV2CallWarning has
no `deprecated` variant, the best-model and wordBoost/boostParam
deprecation warnings are emitted as `type: 'other'` warnings (with the
affected setting folded into the message), and tests were adjusted
accordingly. The workflow serialize/deserialize hooks from the original
PR are omitted (not available in v5). The provider options schema stays
inline in the model file, keeping v5's `assemblyaiProviderOptionsSchema`
name. Docs/examples keep v5's `experimental_transcribe` import and
`examples/ai-core` layout.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant