npm / @ai-sdk/alibaba
@ai-sdk/alibaba
What changed in @ai-sdk/alibaba 0.0 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
3 breaking2 new APIs and options2 behavior and defaults7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@ai-sdk/alibaba 210 changes
Breaking changes 1
Reasoning is preserved in multi-turn requests by default on supported models.
New APIs and options 2
Adds max as a portable reasoning level, widening LanguageModelV4CallOptions['reasoning'] and the derived ReasoningLevel type.
Adds support for wan3 all-in-one video generation.
Behavior and default changes 2
Wan video requests use the Wan 2.7 wire format for later Wan 2 minors; future majors and unknown IDs use the current all-in-one media protocol instead of legacy size and reference fields.
Top-level embedding dimensions are mapped to provider settings.
Fixes and other changes 5
The User-Agent header is now standards-compliant.
Fixes streamed tool calls with missing, blank, or repeated IDs.
Uses model-specific structured output modes.
Prevents negative text output token counts when providers report reasoning tokens; Perplexity reasoning tokens are treated separately from completion tokens.
Handle empty string tool call IDs.
@ai-sdk/alibaba 12 changes
Breaking changes 1
Reasoning is preserved by default in multi-turn requests on supported models.
Fixes and other changes 1
Reasoning streams are preserved across empty tool-call deltas for DeepSeek.
@ai-sdk/alibaba 0.02 changes
Breaking changes 1
Reasoning is preserved by default in multi-turn requests on supported models.
Fixes and other changes 1
Reasoning streams are preserved across empty tool-call deltas.