github vercel/ai @ai-sdk/openai@4.0.104

latest releases: @ai-sdk/xai@3.0.146, @ai-sdk/google-vertex@5.0.125, @ai-sdk/openai@2.0.138...
4 hours ago

Patch Changes

  • 01d7a03: feat(openai): add GPT-6.1 Terra model support

  • 599a97f: fix(openai): read transcription duration from usage for duration-billed json responses

    durationInSeconds now falls back to usage.seconds when usage.type is duration and the response has no top-level duration (e.g. gpt-transcribe with the default json response format).

  • 8375141: Support streaming transcription with gpt-live-transcribe and gpt-transcribe. For these models the language provider option is sent as a single-entry languages list. gpt-transcribe warns about and omits streaming.delay, which it does not support. gpt-live-transcribe rejects non-streaming transcription, since it has no REST endpoint.

  • 7eac057: fix(openai): strip propertyNames schemas that omit type: '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_json or timestamp_granularities[]=segment unless the caller sets them or the model needs them. Previously, any providerOptions.openai value (such as a prompt) caused verbose_json to be sent for models like gpt-transcribe, which rejected the request.

  • Updated dependencies [57086ff]

  • Updated dependencies [95348b3]

    • @ai-sdk/provider-utils@5.0.70

Don't miss a new ai release

NewReleases is sending notifications on new releases.