Agent InfrastructureAutomated release watch

ai@7.0.133

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.

Human read

Why this signal matters

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.

Agent parse

Actionable summary

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.

Agent usefulness
77/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • 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.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread