Skip to content

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

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

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

Conversation

@gr2m

@gr2m gr2m commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Backport of #16548 to release-v6.0.

Adaptations for the v6 provider spec

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

  • The transcription model implements TranscriptionModelV3 (not V4). Because SharedV3Warning has no deprecated variant, 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 — serializeModelOptions / those symbols do not exist in the v6 @ai-sdk/provider-utils.
  • The provider-options schema stays inline in assemblyai-transcription-model.ts (v6 never received the konsistent refactor that split it into assemblyai-transcription-model-options.ts), and the new options were added there.
  • Doc examples keep v6's experimental_transcribe as transcribe import.

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-v6.0.

Adapted to the v6 provider spec: the transcription model targets
TranscriptionModelV3 (not V4), so the deprecation/nudge warnings are
emitted as `type: 'other'` warnings (SharedV3Warning has no `deprecated`
variant), and the workflow serialize/deserialize hooks from the original
PR are omitted (not available in v6). The provider options schema remains
inline in the model file, matching v6's 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