mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-26 16:01:13 +00:00
Route native requests only to providers that support their wire protocol. Convert Chat Completions directly to Responses, Messages or GenAI while preserving the shared request lifecycle and native continuation ownership. Remove provider-side cross-protocol adaptation outside compat modules and update protocol, provider, routing and delivery regression coverage. Validation: workspace fmt and strict Clippy; 4,741 tests passed, none skipped. Live-tested native Codex, AGY and Grok harnesses plus Chat JSON/SSE and tools. BREAKING CHANGE: Built-in cross-protocol conversion is available only through Chat Completions. Native callers must use a matching provider protocol. Co-authored-by: Codex <noreply@openai.com>
4.4 KiB
4.4 KiB
Note
原生生成支持 OpenAI Responses、Anthropic Messages 和 GenAI;Chat Completions 直接转换到所选账号协议,其他跨协议转换不内置
快速预览
| 登录信息 | 默认值 |
|---|---|
| 地址 | 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 社区提供开放、友善的技术交流平台
贡献者
Star History
支持项目
如果 Codex Proxy RS 帮助到你了,欢迎请我喝杯咖啡 ☕
许可证
本项目基于 Apache License 2.0 开源

