ZyyandCodex 8c742bd593 fix(antigravity): align GenAI authentication and OAuth requests
Accept x-goog-api-key on GenAI endpoints while preserving Authorization precedence and existing endpoint scopes. Allow the header in CORS preflight responses.

Apply OAuth request identity without rebuilding business JSON, filter gateway identity headers and labels, and update the CLI baseline to 1.5.17. Document the authentication and transport contracts.

Validation: workspace Rustfmt and strict Clippy for gateway-api and provider-antigravity passed. All 823 API, provider and architecture tests passed, with none skipped. Live upstream validation was not rerun.

Co-authored-by: Codex <noreply@openai.com>
2026-11-27 00:37:27 +08:00
2026-11-25 21:14:28 +08:00

Codex Proxy RS

Codex Proxy RS

面向 Codex 的自托管多账号 AI 网关

CI Release GHCR License: Apache 2.0

快速预览 · 快速开始 · 文档 · 社区 · 贡献者 · Star History · 支持项目 · 许可证

Note

支持 OpenAI(Codex)、xAI(Grok)和 Google Antigravity 账号,以及兼容 OpenAI Responses 或 Anthropic Messages 的 API Key 服务,详见账号接入

快速预览

登录信息 默认值
地址 https://codex-proxy-rs.ainz.cc
账号 admin@cpr.local
密码 039c18de2aeac46d23ead7766bb07bbbe3747233c66a128e

快速开始

在已安装 Docker Engine、Docker Compose Plugin、curl 和 OpenSSL 的 Linux amd64/arm64 主机上运行

curl -fsSL https://raw.githubusercontent.com/zyycn/codex-proxy-rs/main/deploy/install.sh -o install.sh && bash install.sh

安装脚本选项 · macOS 发行包 · Windows 安装 · 已有部署升级

文档

主题 文档
部署与使用 部署、备份与恢复 · 客户端接入
接口集成 API 参考 · 模型目录 · 模型定价
使用插件 安装、配置与使用
开发插件 SDK 与合同 · 打包工具 · 官方示例
开发共用组件 组件库说明 · 组件参考 · Playground
开发宿主 开发与源码联调 · 系统架构 · 管理端主题 · 数据库迁移
参与协作 贡献、审查与验证

社区

问题反馈与功能建议请使用 GitHub Issues,填写要求见 贡献说明

感谢 LINUX DO 社区提供开放、友善的技术交流平台

贡献者

查看 GitHub 贡献者列表

Star History

Codex Proxy RS 的 GitHub Star 增长趋势

支持项目

如果 Codex Proxy RS 帮助到你了,欢迎请我喝杯咖啡 ☕

Support me on Ko-fi

WeChat appreciation code  Alipay QR code

许可证

本项目基于 Apache License 2.0 开源

S
Description
基于 Rust 的低风控、高性能、自托管多账号透明代理网关
Readme Apache-2.0
49 MiB
Languages
Rust 90.4%
Vue 5.5%
TypeScript 3.5%
PLpgSQL 0.4%
Ruby 0.1%