@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Your version
4.0.108 is the newest release of 4.x.
In short
1 new2 fixed1 internal
Release note
Patch Changes
openai: Replay web search results when response storage is disabled
Expose complete retrieved web-search URLs and file-search documents as sources, and normalize inline references separately as citations on text parts and text-end events. Preserve citation-derived sources when retrieval data is unavailable, including web-search-preview and Azure responses. Keep raw annotations, citation titles, and text locations available. Deduplicate file-search passages by file ID.
openai: JSON-encode custom tool input deltas for progressive UI updates