כתבה
Vercel AI SDK ·
עדכון @ai-sdk/typesafe-ai@3.0.16
@ai-sdk/typesafe-ai@3.0.16
בעדכון האחרון של @ai-sdk/typesafe-ai@3.0.16, נוספו תכונות חדשות למצב ההחלטה, כולל תמונות כקלט, ותיעוד של פרטי המצב. נורמליזציה של צורות המצב הציבורי לרשימה של חלקים. תיעוד של פרטי המצב בספריית OpenTelemetry.
תקציר מקורי באנגלית<h3>Patch Changes</h3> <ul> <li> <p>9184a35: Add ordered text, file, and JSON parts to experimental decision state. Support image input in OpenAI Decisions and language model adapters. Gateway retains its existing string and JSON request format and rejects files, as does TypeSafe AI.</p> <p>Arrays passed directly as state now contain decision state parts. Wrap JSON arrays in an object or a json part.</p> <p>Normalize all public state forms into an array of parts before calling decision providers. Providers receive text and JSON objects as text and json parts.</p> <p>Serialize decision file bytes as base64 in OpenTelemetry state attributes. Model-call spans record normalized state parts, while outer spans retain public state inputs.</p> <p>Preserve native JSON state in TypeSafe AI when stat
קרא במקור המקורי
github.com
פתח כתבה מקורית