← AI PulseAug 27, 2026

Wire · news · Single-source brief

Vercel AI SDK Fixes Web Search Action Preservation in Responses

Vercel has released a patch for its AI SDK, version @ai-sdk/xai@4.0.48, addressing an issue where web_search action details were not consistently preserved in tool results.

By Illumora Editorial

Source · Aug 27, 2026, 3:39 PM · On Illumora · Aug 27, 2026, 3:42 PM

Media from the primary source — shown here so you can stay on Illumora.

Rewritten from one allowlisted primary — not independent enterprise reporting. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →Vercel AI SDK Changelog — Release @ai-sdk/xai@4.0.48 · vercel/ai
Save

Vercel released a patch for its AI SDK on August 27 at 15:36, specifically targeting the @ai-sdk/xai package. This update, version 4.0.48, resolves a bug related to the web_search action within the SDK's responses.

Key Points

  • The @ai-sdk/xai package received a patch update to version 4.0.48.
  • The update was released on August 27.
  • The patch addresses an issue with the web_search action.
  • The fix ensures the preservation of query, sources, and open_page within web_search action results.

Context

According to the Vercel AI SDK changelog, the patch specifically fixes an error where the web_search action's details were not being preserved in the tool results of responses. This includes critical components like the search query, identified sources, and the open_page instruction.

Why It Matters

This fix is important for developers using the Vercel AI SDK, as it ensures that web_search functionality operates as expected, providing complete and accurate information within tool results. Consistent preservation of search parameters and outcomes is crucial for applications that rely on external web data.

What To Do

  • Check your project's dependencies to confirm the @ai-sdk/xai package version.
  • Update to @ai-sdk/xai@4.0.48 or later to incorporate this fix.
  • Test any existing implementations of web_search actions to verify correct preservation of query, sources, and open_page.
  • Review the Vercel AI SDK documentation for any updated guidance on tool result handling.