Skip to content

Improve OpenAI Codex gateway parity and GHCR image build - #3500

Open
siyuan-123 wants to merge 5 commits into
Wei-Shaw:mainfrom
siyuan-123:codex-openai-ghcr-build
Open

siyuan-123 wants to merge 5 commits into
Wei-Shaw:mainfrom
siyuan-123:codex-openai-ghcr-build

Conversation

@siyuan-123

Copy link
Copy Markdown
Contributor

概要

本 PR 聚焦 OpenAI/Codex 网关链路,并补充 main 分支自动构建 GHCR 镜像。

主要变更

  • 对齐 Codex/ChatGPT 上游请求形态:请求头、body 转换、access token 透传/兜底、installation_id 等。
  • 增加 OpenAI OAuth token/provider 相关封装与测试覆盖。
  • 新增 gateway.openai_chatgpt_base_url 配置,支持将 Codex/ChatGPT 上游指向兼容 sidecar。
  • 新增 .github/workflows/docker-image.yml,main 分支自动构建并推送 ghcr.io/<owner>/<repo> 多架构镜像。

验证

  • 已在本地执行:go test ./...(backend)
  • 已执行:git diff --check

@siyuan-123 siyuan-123 closed this Jun 26, 2026
@siyuan-123 siyuan-123 reopened this Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant