Patch Changes
-
fc1e19e: fix: limit jsonl rows to 64mb during batch result downloads
-
99bdcd2: Replace the OpenAI structured-output wrapper for
decidewith the native Decisions API. Onlygpt-6-lunais currently supported by this endpoint; other Responses models no longer work withopenai.decisionModel()or its deprecatedevaluationModel()alias.Responses API options, such as
reasoningEffort, are no longer applied and produce unsupported-option warnings. The Decisions API supportsproviderOptions.openai.safetyIdentifier. Native token usage and confidence values are preserved, and per-question refusals fail the decision call. -
268225c: feat(provider): add a portable
maxreasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.Compatibility notes:
- TypeScript source compatibility: Adding
maxwidensLanguageModelV4CallOptions['reasoning']and the derivedReasoningLeveltype. Third-party providers and consumers with exhaustive switches orRecord<ReasoningLevel, ...>mappings must handlemaxbefore upgrading. Ordinary calls using existing reasoning levels remain accepted. - Amazon Bedrock: Existing Nova 2 calls using portable
reasoning: 'xhigh'now sendmaxReasoningEffort: 'high'instead of the unsupported'max', and return a compatibility warning. Anthropic and OpenAI Bedrock effort mappings retain their existingxhighbehavior. Partial Bedrock reasoning configurations continue to preserve explicit values and derive missing fields; explicit effort/budget overrides and disabled thinking no longer emit warnings for portable mappings that are not sent. - Fireworks: Existing portable
minimalandxhighcalls keep their request mappings tolowandhigh, respectively, and now return compatibility warnings in generation and streaming results. Portablemaxmaps tohighwith the same warning behavior.
Release classification: This remains a patch changeset under the repository's explicit release policy, which uses patch releases for both fixes and features. The TypeScript source-compatibility caveat for exhaustive consumers is disclosed above. Maintainers can override this classification with a
majorlabel if they decide to align the provider-spec addition with a future AI SDK major release. - TypeScript source compatibility: Adding
-
0af2f7c: chore: upgrade to TypeScript 6
-
Updated dependencies [fc1e19e]
-
Updated dependencies [5094ebd]
-
Updated dependencies [268225c]
-
Updated dependencies [0af2f7c]
- @ai-sdk/provider-utils@5.0.55
- @ai-sdk/provider@4.0.23