返回全部动态
Mastra 更新:实验 API、优雅关闭、多轮评判等
原标题:August 21, 2026
AI 摘要
Mastra 发布 2026 年 8 月 21 日更新,引入调用方驱动的实验 API,支持外部编排器(如 Temporal)管理实验循环,同时保持 Mastra 作为记录系统。新增优雅关闭和 HTTP 排空控制,改进会话中“活动期间”消息传递,并增强工作流恢复的并发安全性。还新增多轮 LLM 评判评分器,用于评估多轮对话。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
## Highlights ### Caller-Driven Experiments (Temporal/External Orchestrator Support) New dataset experiment APIs let external orchestrators own the experiment loop while Mastra remains the system of record: create experiments idempotently, run items server-side (`runExperimentItem`) or submit externally computed results (`submitExperimentResult`), then finalize for server-computed succeeded/failed/skipped counts—fully compatible with Studio views and comparisons. ### Graceful Shutdown + H
发布时间:2026-08-24 17:02
抓取时间:2026-08-24 17:52
来源机构:Mastra