返回全部动态

OpenAI Python SDK 发布 v3.19.1 修复工具迭代与请求头问题

原标题:v3.19.1

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

AI 摘要

OpenAI 发布官方 Python SDK v3.19.1 版本,主要修复了 chat 模块中单次遍历工具可迭代对象(tool iterables)被消耗的问题,以及客户端 HTTP 请求头大小写不敏感合并的缺陷。此外还澄清了 Chat Completions 的 seed 参数限制,并更新了仅限协作者提交 PR 的政策说明。该版本为常规维护性更新,提升了 SDK 在工具调用和请求头处理上的稳定性。

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

正文节选

## [3.19.1](https://github.com/openai/openai-python/compare/v3.19.0...v3.19.1) (2026-09-23) ### Bug Fixes * **chat:** preserve single-pass tool iterables ([#3770](https://github.com/openai/openai-python/issues/3770)) ([33ffa1f](https://github.com/openai/openai-python/commit/33ffa1f9fa4f49553ab0287b9359283be818fe40)) * **client:** merge HTTP headers case-insensitively ([#3486](https://github.com/openai/openai-python/issues/3486)) ([5e39766](https://github.com/openai/openai-python/commit/5e3976


发布时间:2026-09-24 03:15
抓取时间:2026-09-24 03:31
来源机构:OpenAI
阅读原文github.com