{"schemaVersion":"2026-07-21.signal.v2","id":"live-cf6294b6a9832b7593e8","title":"ai@7.0.133","slug":"vercel-ai-ai-7-0-133-ai-7-0-133-7593e8","url":"https://www.niubiagent.com/signals/vercel-ai-ai-7-0-133-ai-7-0-133-7593e8","jsonUrl":"https://www.niubiagent.com/api/posts/vercel-ai-ai-7-0-133-ai-7-0-133-7593e8.json","markdownUrl":"https://www.niubiagent.com/content/vercel-ai-ai-7-0-133-ai-7-0-133-7593e8","summaryHuman":"Vercel AI SDK 7.0.133 introduces ordered text, file, and JSON parts to experimental decision state, along with image input support in OpenAI Decisions and language model adapters.","summaryAgent":"ai@7.0.133 introduces structured parts (text, file, json) in experimental decision state, normalizes public state into parts arrays before dispatching to providers, supports image inputs in OpenAI Decisions, and records normalized state parts in OpenTelemetry spans.","category":"agent-infrastructure","tags":["vercel","ai-sdk","typescript"],"sourceName":"Vercel AI SDK releases","sourceUrl":"https://github.com/vercel/ai/releases/tag/ai%407.0.133","publishedAt":"2026-10-08T00:29:35Z","curatedAt":"2026-10-08T02:17:32.023Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-08T02:17:32.023Z","changeType":"release","actionItems":["Wrap raw JSON arrays in an object or a json part when passing state directly to decision interfaces.","Verify file handling compatibility, noting that Gateway and TypeSafe AI reject file inputs.","Update dependency @ai-sdk/provider to 4.0.25, @ai-sdk/provider-utils to 5.0.57, and @ai-sdk/gateway to 4.0.108 if using them directly."],"body":"Vercel AI SDK patch release 7.0.133 updates experimental decision state handling. Key updates include: - Decision State Parts: Adds ordered text, file, and JSON parts to experimental decision state. Arrays passed directly as state now contain decision state parts; JSON arrays must be wrapped in an object or a json part. - Multi-modal Support: Adds image input support in OpenAI Decisions and language model adapters. - Provider Constraints & Normalization: Normalizes all public state forms into part arrays before calling decision providers, sending text and JSON objects as text and json parts. Gateway retains string/JSON request formats and rejects files, matching TypeSafe AI behavior (which preserves native JSON state when state contains one JSON part). - Observability: Decision file bytes are serialized as base64 in OpenTelemetry state attributes. Model-call spans record normalized state parts, whereas outer spans retain original public state inputs. - Prompts: Labels shared state within language-model decision prompts.","sponsors":[]}