返回全部动态
OpenAI Python SDK 发布 v3.12.0,新增 Live API
原标题:v3.12.0
AI 摘要
OpenAI 发布 Python SDK v3.12.0 版本,新增 Live API 功能。同时修复了多个问题,包括为 AsyncStream 添加 aclose() 以支持标准异步清理、处理无类型参数的裸 dict 和 list 注解,以及在响应完成为 null 时保留已定稿输出。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
## [3.12.0](https://github.com/openai/openai-python/compare/v3.11.0...v3.12.0) (2026-09-10) ### Features * **api:** Add Live API ([0e4bfef](https://github.com/openai/openai-python/commit/0e4bfef9c79251fcf4926fd732129627bde050f1)) ### Bug Fixes * add aclose() to AsyncStream for standard async cleanup ([#2854](https://github.com/openai/openai-python/issues/2854)) ([802b334](https://github.com/openai/openai-python/commit/802b334928d8f0c3e24e5fce15a0eaa1b28c61cd)) * handle bare `dict` and `lis
发布时间:2026-09-11 01:28
抓取时间:2026-09-11 01:46
来源机构:OpenAI