官方更新 OpenAI Codex Releases 2026-07-16T21:41 正文 ok 91 words

OpenAI Codex python-v0.144.4:为 Amazon Bedrock 提供自定义传输支持 (#33695)

英文标题:OpenAI Codex python-v0.144.4: Support custom transports for Amazon Bedrock (#33695)

OpenAI Codex Python 客户端 v0.144.4 为内置 Amazon Bedrock 提供者加入了自定义传输配置,允许开发者覆盖 `base_url`、`auth` 和 `http_headers`,并通过基于命令的持有者认证绕过 AWS 签名。此次更新将 `credentialSource` 枚举替换为 `usesCodexManagedCredentials` 布尔值,以统一报告外部管理凭证。测试覆盖了配置合并、带自定义标头的代理请求以及凭证报告,显著提升了与 Bedrock 集成的灵活性。
打开原文相关 8.8 · 机会 1
media1.1 KB media43.9 KB

中文

变更内容

  • 除了 AWS 配置和区域外,允许内置的 amazon-bedrock 提供程序覆盖 base_url、auth 和 http_headers。
  • 使用基于命令的持有者认证和配置的端点,而不应用 AWS 请求签名,同时保留默认 Bedrock 配置下的区域端点解析。
  • 将 Bedrock 账户的 credentialSource 枚举替换为布尔值 usesCodexManagedCredentials,以便对命令认证和其他外部管理的配置进行一致的报告。

测试

  • 覆盖配置合并与验证、带有自定义标头的命令认证代理请求,以及受管理和外部凭据的账户报告。

GitOrigin-RevId: d1acbe602060470583b5e12f8d304bee5be46f4c

English / 原文

What changed

- Allow the built-in `amazon-bedrock` provider to override `base_url`, `auth`,
  and `http_headers` in addition to its AWS profile and region.
- Use command-based bearer authentication and configured endpoints without
  applying AWS request signing, while retaining regional endpoint resolution
  for the default Bedrock configuration.
- Replace the Bedrock account `credentialSource` enum with the
  `usesCodexManagedCredentials` boolean so command-authenticated and other
  externally managed configurations are reported consistently.

## Testing

- Cover configuration merging and validation, command-authenticated proxy
  requests with custom headers, and account reporting for managed and external
  credentials.

GitOrigin-RevId: d1acbe602060470583b5e12f8d304bee5be46f4c