Skip to content

docs: add DaoXE OpenAI-compatible gateway example#6527

Open
seven7763 wants to merge 5 commits into
crewAIInc:mainfrom
seven7763:docs/add-daoxe-llm-example
Open

docs: add DaoXE OpenAI-compatible gateway example#6527
seven7763 wants to merge 5 commits into
crewAIInc:mainfrom
seven7763:docs/add-daoxe-llm-example

Conversation

@seven7763

Copy link
Copy Markdown

Summary

Adds a DaoXE accordion to docs/edge/en/concepts/llms.mdx next to other gateway-style OpenAI-compatible providers.

Why

CrewAI already documents custom OpenAI-compatible endpoints and providers like OpenRouter. DaoXE is a multi-model multi-protocol gateway (https://daoxe.com/v1) that some users use as a single OpenAI-compatible base for multi-model access.

Notes

  • Community contribution from a DaoXE maintainer (disclosed in the page).
  • Uses custom_openai=True + base_url="https://daoxe.com/v1".
  • No hardcoded model/price tables — model IDs come from the user's DaoXE account catalog.
  • DaoXE is not available in mainland China (noted).
  • English edge docs only (same pattern as neighboring provider examples).

Test plan

  • Mintlify/docs preview renders the new Accordion
  • Code sample matches current LLM(..., custom_openai=True, base_url=...) API

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ff985222-689a-4134-b594-020d50ae8ece

📥 Commits

Reviewing files that changed from the base of the PR and between c730932 and 38f4ae8.

📒 Files selected for processing (1)
  • docs/edge/en/concepts/llms.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/edge/en/concepts/llms.mdx

📝 Walkthrough

Walkthrough

Added a DaoXE provider section to the LLM documentation, including API key setup, OpenAI-compatible LLM configuration, DaoXE’s base URL, and protocol information.

Changes

DaoXE Provider Documentation

Layer / File(s) Summary
DaoXE configuration example
docs/edge/en/concepts/llms.mdx
Documents DAOXE_API_KEY, demonstrates custom_openai=True with DaoXE’s base_url, and notes CrewAI’s OpenAI-compatible integration path.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding a DaoXE OpenAI-compatible gateway example to docs.
Description check ✅ Passed The description clearly matches the change and explains the DaoXE docs addition, rationale, and notes.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/edge/en/concepts/llms.mdx`:
- Around line 1291-1299: Update the DaoXE Python example around the LLM
initialization to load the .env file before reading DAOXE_API_KEY, using
load_dotenv() and its required import; alternatively, explicitly instruct users
to export the variable before running the snippet. Ensure DAOXE_API_KEY is
available when LLM is constructed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ad8864b7-55cf-483a-9538-7ec7678d5da8

📥 Commits

Reviewing files that changed from the base of the PR and between fb8e93b and 257e2b9.

📒 Files selected for processing (1)
  • docs/edge/en/concepts/llms.mdx

Comment thread docs/edge/en/concepts/llms.mdx
seven7763 and others added 4 commits July 13, 2026 17:53
Match neighboring provider docs: read DAOXE_API_KEY from the
documented .env instead of os.getenv without load_dotenv.
CodeRabbit noted the snippet referenced a .env file without loading it.
Document export (or preloaded env) and use os.getenv consistently.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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