Skip to content

feat(codex): add ChatGPT subscription provider - #492

Open
Kaguya-19 wants to merge 4 commits into
OpenBMB:mainfrom
Kaguya-19:codex/fix-pr480-codex-review
Open

feat(codex): add ChatGPT subscription provider#492
Kaguya-19 wants to merge 4 commits into
OpenBMB:mainfrom
Kaguya-19:codex/fix-pr480-codex-review

Conversation

@Kaguya-19

Copy link
Copy Markdown
Collaborator

Summary

  • add a ChatGPT subscription-backed Codex provider with device authorization, Codex CLI credential import, private refreshable credential storage, and logout
  • integrate authenticated Codex model discovery and Responses transport into onboarding and model settings
  • preserve Codex-native reasoning and function-call metadata across streaming and history replay
  • include the review follow-ups from feat(codex): add ChatGPT subscription provider #480: honor OAuth polling intervals, retry rate-limited device polls, normalize trailing-slash URLs, and protect the JSON content type

Validation

  • backend build passed on Node 22
  • focused Codex backend tests passed
  • Codex UI auth and server route tests passed

Includes and supersedes the implementation in #480 with the review fixes applied.

amphetamarina and others added 4 commits August 19, 2026 12:06
- Implement device authorization, Codex CLI credential import, token refresh, logout, and private credential persistence.
- Route subscription model discovery and Responses traffic through fixed Codex backend endpoints with one-time 401 recovery.
- Adapt Responses payloads for Codex streaming, reasoning, role, and tool-schema requirements.
- Integrate authenticated Codex setup into onboarding and provider settings with bilingual guidance.
- Add transport, auth, config, server-route, service, and onboarding coverage.
Preserve Codex-native reasoning and function-call identity across streaming, transcript replay, compaction tails, and subsequent requests while keeping opaque reasoning out of visible memory.

Normalize malformed Codex tool history, enforce subscription request invariants, improve SSE framing and terminal error handling, and protect required transport headers without changing non-Codex provider behavior.

Tighten device authorization polling, canonical transport validation, onboarding and settings isolation, and add focused backend, server, and UI regression coverage.
@Kaguya-19
Kaguya-19 force-pushed the codex/fix-pr480-codex-review branch from 757ab2b to ac8d5ae Compare August 19, 2026 04:08
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.

2 participants