AI SDK 7.0.129 released
e37d213: feat(ai): emit deprecation warnings with stable codes and deduplicate them; 73d8343: fix(ai): preserve V2 provider-reported total tokens in raw usage; 268225c: feat(provider): add a portable max reasoning level with native provider mappings…
What changed
- e37d213: feat(ai): emit deprecation warnings with stable codes and deduplicate them
- 73d8343: fix(ai): preserve V2 provider-reported total tokens in raw usage
- 268225c: feat(provider): add a portable max reasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.
- TypeScript source compatibility: Adding max widens LanguageModelV4CallOptions['reasoning'] and the derived ReasoningLevel type. Third-party providers and consumers with exhaustive switches or…
- Amazon Bedrock: Existing Nova 2 calls using portable reasoning: 'xhigh' now send maxReasoningEffort: 'high' instead of the unsupported 'max', and return a compatibility warning. Anthropic and…
- Fireworks: Existing portable minimal and xhigh calls keep their request mappings to low and high, respectively, and now return compatibility warnings in generation and streaming results. Portable…
- d83366e: fix(ai): publish the latest error after repeated failed stream resume attempts
- 34905a2: fix(ai): preserve provider options from approval-only tool messages
Generated from AgentGid's daily data on public sources. How we collect it.