docs: add DaoXE OpenAI-compatible gateway example - #720
Conversation
Document DaoXE as an OpenAI-compatible base_url (https://daoxe.com/v1) alongside Groq/Together/Ollama, and add a model_providers finder-agent example. Model IDs stay account-scoped via GET /v1/models; notes multi- protocol scope and mainland China unavailability. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughDaoXE is documented as an OpenAI-compatible model provider. A runnable MCP example is added with DaoXE configuration, secrets guidance, MCP servers, model selection, and three LLM generation flows. ChangesDaoXE provider integration
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant MCPApp
participant finder_agent
participant OpenAIAugmentedLLM
participant DaoXE
MCPApp->>finder_agent: start MCP servers and discover tools
finder_agent->>OpenAIAugmentedLLM: submit generation requests
OpenAIAugmentedLLM->>DaoXE: generate with configured model
DaoXE-->>OpenAIAugmentedLLM: return generated responses
OpenAIAugmentedLLM-->>finder_agent: return generation results
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
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 `@examples/model_providers/mcp_basic_daoxe_agent/README.md`:
- Around line 77-83: Remove the repeated cd into
examples/model_providers/mcp_basic_daoxe_agent from the later README command
block, leaving the DAOXE_MODEL export and uv run main.py commands unchanged.
🪄 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: defaults
Review profile: CHILL
Plan: Pro
Run ID: fb132aef-3640-4efe-9390-0b2112587e63
📒 Files selected for processing (7)
docs/configuration.mdxdocs/reference/configuration.mdxexamples/model_providers/mcp_basic_daoxe_agent/README.mdexamples/model_providers/mcp_basic_daoxe_agent/main.pyexamples/model_providers/mcp_basic_daoxe_agent/mcp_agent.config.yamlexamples/model_providers/mcp_basic_daoxe_agent/mcp_agent.secrets.yaml.exampleexamples/model_providers/mcp_basic_daoxe_agent/requirements.txt
Summary
base_url(https://daoxe.com/v1), next to Groq / Together / Ollama.examples/model_providers/mcp_basic_daoxe_agent(finder agent +OpenAIAugmentedLLM).GET /v1/models/DAOXE_MODEL) — no hardcoded catalog.docs/reference/configuration.mdxOpenAI-compatible APIs bullets.Disclosure
I am affiliated with DaoXE.
Test plan
openai.base_urlpattern used by Groq/Ollama examplesmcp_agent.secrets.yaml.example)Summary by CodeRabbit