github vercel/ai @ai-sdk/openai-compatible@3.0.28

latest releases: @ai-sdk/vercel@3.0.28, @ai-sdk/togetherai@3.0.29
3 hours ago

Patch Changes

  • 83e6510: fix(provider/openai-compatible): clamp outputTokens.text at 0 when a provider reports completion_tokens_details.reasoning_tokens greater than completion_tokens (observed with Baseten serving reasoning models that hit the length stop mid-reasoning). The text share of completion tokens can never be negative; total and reasoning remain as reported by the provider.

Don't miss a new ai release

NewReleases is sending notifications on new releases.