Patch Changes
-
01d7a03: feat(openai): add GPT-6.1 Terra model support
-
599a97f: fix(openai): read transcription duration from
usagefor duration-billedjsonresponsesdurationInSecondsnow falls back tousage.secondswhenusage.typeisdurationand the response has no top-levelduration(e.g.gpt-transcribewith the defaultjsonresponse format). -
8375141: Support streaming transcription with
gpt-live-transcribeandgpt-transcribe. For these models thelanguageprovider option is sent as a single-entrylanguageslist.gpt-transcribewarns about and omitsstreaming.delay, which it does not support.gpt-live-transcriberejects non-streaming transcription, since it has no REST endpoint. -
7eac057: fix(openai): strip
propertyNamesschemas that omittype: 'string'(e.g. Zod 3 records with constrained keys) instead of throwing an unsupported functionality error -
436374e: fix(openai): report unfinished web searches as tool errors
-
9026c7d: fix(openai): only send transcription response format and timestamp defaults when needed
Transcription requests no longer send
response_format=verbose_jsonortimestamp_granularities[]=segmentunless the caller sets them or the model needs them. Previously, anyproviderOptions.openaivalue (such as aprompt) causedverbose_jsonto be sent for models likegpt-transcribe, which rejected the request. -
Updated dependencies [57086ff]
-
Updated dependencies [95348b3]
- @ai-sdk/provider-utils@5.0.70