AI SDK 6.0.308

6.0.308
Added 1
  • Mark streamed tool input with inputEncoding set to 'text' so UI clients can display it progressively without JSON parsing
Changed 2
  • Preserve the input encoding when partial UI messages are saved and resumed
  • Final provider tool-call inputs remain JSON-encoded
Fixed 1
  • Restore raw OpenAI custom-tool input deltas for consumers that forward them to Responses API clients

From AI SDK

Patch Changes
  • 739e9f6: Restore raw OpenAI custom-tool input deltas for consumers that forward them to Responses API clients. Mark streamed input with inputEncoding: 'text' so UI clients can display it progressively without JSON parsing. Preserve the encoding when partial UI messages are saved and resumed. Final provider tool-call inputs remain JSON-encoded.
  • Updated dependencies [739e9f6]
    • @ai-sdk/provider@3.0.19
    • @ai-sdk/gateway@3.0.216
    • @ai-sdk/provider-utils@4.0.60
View original

Upgraded? How did it go?

Discussion