@ai-sdk/xai@5.0.16
Vercel AI SDK releases published @ai-sdk/xai@5.0.16. Patch Changes 268225c : feat(provider): add a portable max reasoning level with native provider mappings, compatibility coercions, and budget-based fallback support. Compatibility notes: TypeScript source compatibility: Adding max widens LanguageModelV4CallOptions 'reasoning' and the derived…
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK releases published @ai-sdk/xai@5.0.16. This automated release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: Patch Changes 268225c : feat(provider): add a portable max reasoning level with native provider mappings, compatibility coercions, and budget-based fallback support. Compatibility notes: TypeScript source compatibility: Adding max widens LanguageModelV4CallOptions 'reasoning' and the derived ReasoningLevel type. Third-party providers and consumers with exhaustive switches or Record mappings must handle max before upgrading. Ordinary calls using existing reasoning levels remain accepted. 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 OpenAI Bedrock effort mappings retain their existing xhigh behavior. Partial Bedrock reasoning configurations continue to preserve explicit values and derive missing fields; explicit effort/budget overrides and…
可执行摘要
Treat @ai-sdk/xai@5.0.16 as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Review the official Vercel AI SDK releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.