@ai-sdk/openai-compatible
3.0.93 · 17 Nov 2026Apache-2.014.4M / weekRepositoryHomepagenpmAtom feed
Your version
2.0.94 is the newest release of 2.x.
In short
1 fixed1 internal
Release note
Patch Changes
provider/openai-compatible: Clamp
outputTokens.textat 0 when a provider reportscompletion_tokens_details.reasoning_tokensgreater thancompletion_tokens(observed with Baseten serving reasoning models that hit the length stop mid-reasoning). The text share of completion tokens can never be negative;totalandreasoningremain as reported by the provider.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.