返回全部动态

OpenAI Python SDK v2.48.0 发布,新增 spend_limit 支持

原标题:v2.48.0

OpenAI Python SDK Releases一手来源API 更新质量 68

AI 摘要

OpenAI Python SDK 发布 v2.48.0 版本,新增对 spend_limit 管理 API 的支持,并允许 prompt_cache_key 和 safety_identifier 参数接受 None 值。该版本更新了 API 接口,提升了灵活性和管理功能。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## 2.48.0 (2026-07-23) Full Changelog: [v2.47.0...v2.48.0](https://github.com/openai/openai-python/compare/v2.47.0...v2.48.0) ### Features * **api:** accept `None` for prompt_cache_key/safety_identifier ([36820e6](https://github.com/openai/openai-python/commit/36820e69ba6cf1dc3f8d411e48a36e56084fbbc4)) * **api:** add support for `spend_limit` admin apis ([1ff13af](https://github.com/openai/openai-python/commit/1ff13afb6e831394036686a1c352bbec6d704c68))


发布时间:2026-07-24 04:15
抓取时间:2026-08-02 00:23
来源机构:OpenAI
阅读原文github.com