github cloudflare/ai @cloudflare/tanstack-ai@0.1.6

5 hours ago

Patch Changes

  • #459 a375d3f Thanks @TimoWilhelm! - Add maxTokens support to WorkersAi chat and handle non-string responses
    • Forward maxTokens from TextOptions to the Workers AI binding as max_tokens in both streaming and non-streaming paths.
    • Stringify object responses from the binding when building assistant messages instead of defaulting to empty string.

Don't miss a new ai release

NewReleases is sending notifications on new releases.