Skip to content

Codex CLI init - #35

Merged
tristantelleb merged 3 commits into
mainfrom
integration/Codex-CLI
Apr 28, 2026
Merged

tristantelleb merged 3 commits into
mainfrom
integration/Codex-CLI

Conversation

@tristantelleb

@tristantelleb tristantelleb commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Documentation
    • Added Codex CLI integration documentation covering installation, configuration with Eden AI as a model provider, API key setup, model switching guidance, and troubleshooting for authentication and connection issues. Updated navigation to include the new documentation page.

@coderabbitai

coderabbitai Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • integration-logo/codex-cli-icondoc.svg is excluded by !**/*.svg

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 308a3b53-b8a0-4c83-92fe-f5931995d46b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

This pull request adds documentation for Codex CLI integration with Eden AI. A new documentation page describing Codex CLI configuration is created, and the navigation configuration is updated to include the new page in the sidebar.

Changes

Cohort / File(s) Summary
Navigation Configuration
docs.json
Added "v3/integrations/codex-cli" entry to the "Coding Agents" integrations group in the documentation navigation sidebar.
Codex CLI Integration Documentation
v3/integrations/codex-cli.mdx
New documentation page covering Codex CLI setup with Eden AI, including installation instructions, API key configuration, ~/.codex/config.toml setup with edenai model provider, environment variable export, model switching, and troubleshooting guidance for authentication and connectivity issues.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Add OpenClaw integration docs #32: Both PRs add new integration documentation under v3/integrations/ and update docs.json navigation configuration with new page entries.

Suggested reviewers

  • DinaAlSb
  • Mounir-charef

Poem

🐰 A Codex CLI page now lives in the docs,
Eden AI flows through the integration blocks,
With config and keys in perfect array,
The sidebar grows longer, hooray, hooray! 📚✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title "Codex CLI init" is vague and doesn't clearly convey the main changes: adding Codex CLI documentation and integrating it into the navigation structure. Consider a more descriptive title like "Add Codex CLI integration documentation" to better reflect that this PR adds documentation content and updates the docs navigation configuration.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch integration/Codex-CLI

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
v3/integrations/codex-cli.mdx (1)

92-99: Avoid printing the full API key in troubleshooting steps.

Line 93 (echo $EDENAI_API_KEY) can expose secrets in shared shells/session recordings. Prefer a presence check instead.

Safer snippet update
-echo $EDENAI_API_KEY
+if [ -n "$EDENAI_API_KEY" ]; then
+  echo "EDENAI_API_KEY is set"
+else
+  echo "EDENAI_API_KEY is not set"
+fi
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@v3/integrations/codex-cli.mdx` around lines 92 - 99, Replace the unsafe echo
$EDENAI_API_KEY troubleshooting step with a non-secret presence check: remove
the echo command (referenced as echo $EDENAI_API_KEY) and instead verify that
EDENAI_API_KEY is set and emit a generic "EDENAI_API_KEY not set" or similar
message without printing the key before showing the curl example using the model
"openai/gpt-5.1-codex".
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@v3/integrations/codex-cli.mdx`:
- Around line 92-99: Replace the unsafe echo $EDENAI_API_KEY troubleshooting
step with a non-secret presence check: remove the echo command (referenced as
echo $EDENAI_API_KEY) and instead verify that EDENAI_API_KEY is set and emit a
generic "EDENAI_API_KEY not set" or similar message without printing the key
before showing the curl example using the model "openai/gpt-5.1-codex".

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 835dd089-984e-45d8-99e9-b3468b9c2c1b

📥 Commits

Reviewing files that changed from the base of the PR and between 92d131d and 76b6b48.

⛔ Files ignored due to path filters (1)
  • integration-logo/codex-icondocs.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • docs.json
  • v3/integrations/codex-cli.mdx

@mintlify

mintlify Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
edenai 🟢 Ready View Preview Apr 28, 2026, 3:43 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@tristantelleb
tristantelleb merged commit 18b47a9 into main Apr 28, 2026
4 checks passed
@tristantelleb
tristantelleb deleted the integration/Codex-CLI branch April 28, 2026 16:05

This branch was successfully deployed

1 active deployment
staging — 82dcecec Deployed Apr 28, 2026 by mintlify[bot]
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