AI SDK 3.4
Sep 20, 2024

Summary
AI SDK 3.4 introduces language model middleware for RAG and caching, a data stream protocol to decouple AI SDK UI from AI SDK Core (enabling Python backends), new structured output modes (array and enum) for `generateObject` and `streamObject` functions, and multi-step calls for agentic workflows. It also includes tracing improvements and mock models for testing.