AI SDK 将实验性低内存流迁移到独立 API
10 月 16 日的低内存流选项在 10 月 19 日改为 experimental_streamTextLowMemory,以修复可复用选项与 ReturnType 类型问题。
为什么值得关注
实验性流接口的命名与类型边界会直接影响生成式 UI 的升级成本和恢复逻辑。
技术细节
7.0.143 首次提供单消费者低内存执行,不保留重放缓冲或最终内容结果;7.0.144 随后移除 experimental_lowMemory 选项,要求调用独立的 experimental_streamTextLowMemory(options)。默认聊天 ID 的延迟生成仍来自 7.0.143。
适合哪些读者
流式聊天与生成式 UI 开发者
原始来源
修订与更正记录 (3)
— 更正2026-10-20中文限制中的次日:原版为10月16日,后续7.0.144为10月19日,相隔三天。保留真实事件日期、索引时间和修订历史;英文next-patch无需更改。
— Merge the official 7.0.144 follow-up into the existing low-memory streaming event; preserve the original event date while documenting the next-patch API migration.
— Verified distinct dated original release; limitations preserved.