Agent 基础设施官方发布自动监测

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.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

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 解析

可执行摘要

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 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • 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.
分类

标签与路由

vercelai-sdktypescript
相关信号

继续阅读