Repository navigation
Carry native Codex account-model support into the pinned release - #127395
pash-openai merged 4 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: found issues before merge. Reviewed August 21, 2026, 3:07 PM ET / 19:07 UTC. ClawSweeper reviewWhat this changesThe PR lets an explicitly selected Codex runtime discover and authenticate an otherwise unlisted OpenAI model when OpenClaw has no host credential to honor. Merge readinessKeep open for a focused correction: the fallback claims GPT-5.6 reasoning and image capabilities for any unlisted Codex-account model while its own comment says that account-specific catalog data is unavailable. The PR is still necessary for the pinned release, but that capability claim can make an unsupported setting selectable before the native runtime runs. Priority: P1 Review scores
Verification
How this fits togetherOpenAI model routing resolves a transport and credential owner before an agent harness runs. The Codex harness can then use its native account for compatible first-party models instead of requiring an OpenClaw-managed credential. flowchart LR
A[Selected OpenAI model] --> B[Model route policy]
B --> C{Host credential available?}
C -->|No| D[Codex native account]
C -->|Yes| E[Configured OpenAI route]
D --> F[Model capability metadata]
E --> F
F --> G[Agent run]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +29, Tests +78. Total +107 across 6 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve the no-host-credential handoff, but materialize unknown-model capabilities only from the native catalog or use a neutral fallback that does not advertise unsupported inputs or reasoning levels. Do we have a high-confidence way to reproduce the issue? Yes, from source: select an unlisted model with the Codex runtime and no host credential; the new resolver supplies a fixed Max-capable metadata profile before native catalog discovery. Is this the best way to solve the issue? No. The native-account handoff is the right boundary, but copying GPT-5.6 capabilities to every unknown model contradicts the unavailable-catalog premise; use neutral or catalog-derived metadata instead. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 87d02a908976. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
b2de68f
into
sjf_openclaw_2026-07-31
Bring the narrowly scoped native Codex model-discovery and account-authentication fix onto the pinned release without advancing the rest of OpenClaw. Explicit provider credentials, custom endpoints, route compatibility, and configured reasoning capabilities remain protected.