Repository navigation
fix(codex): size usage-guide tabs to content and align setup examples - #2672
Conversation
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
| # \${HOME}/.codex/auth.json | ||
| { | ||
| "personal_access_token": "${apiKey}", | ||
| "OPENAI_API_KEY": "${apiKey}" | ||
| } |
There was a problem hiding this comment.
Copied setup needs manual splitting
The new raw auth.json object shares one copy button with config.toml settings and shell commands. Users must now split the copied text themselves; the removed shell commands previously wrote the authentication file for them. Give each file and the shell command a separate code block and copy button, or keep shell commands that write the files.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
…looplj#2672) * fix(apikeys): make Codex usage tabs fit their content Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai> * docs(codex): align compatibility setup examples Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai> --------- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Two small changes to the Codex compatibility surface:
API key usage example (
frontend/src/features/apikeys/components/apikeys-view-dialog.tsx)${HOME}/.codex/config.tomland${HOME}/.codex/auth.jsonpaths in the Codex example so readers know where each snippet belongs, and labeled the environment-variable block with the shell it runs in.CODEX_AUTHAPI_BASE_URLblock is now explicit about being an environment variable (macOS/Linuxexport, plus a note that Windows users set it through System Environment Variables).Codex integration guide (
docs/en/guides/codex-integration.md,docs/zh/guides/codex-integration.md)auth.jsonsets the API key in bothpersonal_access_tokenandOPENAI_API_KEY; keeping both fields is an API-key fallback across Codex client versions.gpt-6.1-sol.Notes
suppress_unstable_features_warningline is intentional: the example now follows the canonical config snippet.Verification
eslinton the changed component: 0 errors (1 pre-existingreact-hooks/exhaustive-depswarning forcurrentOrigin, unchanged by this PR).prettier --checkon all three changed files: pass.Sisyphus — oh-my-openagent
Summary by CodeRabbit