Skip to content

docs: add DaoXE OpenAI-compatible gateway example - #720

Open
seven7763 wants to merge 2 commits into
lastmile-ai:mainfrom
seven7763:docs/daoxe-openai-compatible-gateway
Open

docs: add DaoXE OpenAI-compatible gateway example#720
seven7763 wants to merge 2 commits into
lastmile-ai:mainfrom
seven7763:docs/daoxe-openai-compatible-gateway

Conversation

@seven7763

@seven7763 seven7763 commented Jul 14, 2026

Copy link
Copy Markdown

Summary

  • Document DaoXE under Model Provider Configuration as an OpenAI-compatible base_url (https://daoxe.com/v1), next to Groq / Together / Ollama.
  • Add example examples/model_providers/mcp_basic_daoxe_agent (finder agent + OpenAIAugmentedLLM).
  • Note multi-protocol scope: Chat Completions path for mcp-agent; DaoXE also exposes Responses / Anthropic Messages for other clients.
  • Keep model IDs account-scoped (GET /v1/models / DAOXE_MODEL) — no hardcoded catalog.
  • Note not available in mainland China; link https://daoxe.com/pricing and https://github.com/seven7763/DaoXE-AI.
  • Cross-reference DaoXE in docs/reference/configuration.mdx OpenAI-compatible APIs bullets.

Disclosure

I am affiliated with DaoXE.

Test plan

  • Docs render: new DaoXE subsection under Model Provider Configuration
  • Example path links resolve once merged
  • Config YAML matches existing openai.base_url pattern used by Groq/Ollama examples
  • No secrets committed (only mcp_agent.secrets.yaml.example)

Summary by CodeRabbit

  • New Features
    • Added DaoXE as a supported OpenAI-compatible model provider.
    • Added a runnable MCP agent example demonstrating DaoXE-powered model interactions with fetch and filesystem tools.
    • Added setup instructions, sample secrets, configuration, and requirements for the example.
  • Documentation
    • Added guidance for DaoXE endpoints, API keys, environment variables, account-scoped model IDs, and regional availability.

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

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: cceeb40f-fefd-434a-8b7a-c68706dcb45b

📥 Commits

Reviewing files that changed from the base of the PR and between fb5dd10 and 26830d7.

📒 Files selected for processing (1)
  • examples/model_providers/mcp_basic_daoxe_agent/README.md
💤 Files with no reviewable changes (1)
  • examples/model_providers/mcp_basic_daoxe_agent/README.md

📝 Walkthrough

Walkthrough

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

Changes

DaoXE provider integration

Layer / File(s) Summary
DaoXE provider documentation
docs/configuration.mdx, docs/reference/configuration.mdx
Documents DaoXE gateway URLs, account-scoped model IDs, API key configuration, environment variables, and availability notes.
MCP example setup and configuration
examples/model_providers/mcp_basic_daoxe_agent/README.md, examples/model_providers/mcp_basic_daoxe_agent/requirements.txt, examples/model_providers/mcp_basic_daoxe_agent/mcp_agent.config.yaml, examples/model_providers/mcp_basic_daoxe_agent/mcp_agent.secrets.yaml.example
Adds setup instructions, dependencies, MCP server definitions, DaoXE gateway configuration, and secrets examples.
MCP agent runtime flow
examples/model_providers/mcp_basic_daoxe_agent/main.py
Starts the MCP app, selects a configured model, attaches OpenAIAugmentedLLM, and performs three generations using filesystem and fetch tools.

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
Loading

Possibly related PRs

Suggested reviewers: streetlamb, saqadri

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the added DaoXE OpenAI-compatible gateway documentation and example.
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 `@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

📥 Commits

Reviewing files that changed from the base of the PR and between f62d849 and fb5dd10.

📒 Files selected for processing (7)
  • docs/configuration.mdx
  • docs/reference/configuration.mdx
  • examples/model_providers/mcp_basic_daoxe_agent/README.md
  • examples/model_providers/mcp_basic_daoxe_agent/main.py
  • examples/model_providers/mcp_basic_daoxe_agent/mcp_agent.config.yaml
  • examples/model_providers/mcp_basic_daoxe_agent/mcp_agent.secrets.yaml.example
  • examples/model_providers/mcp_basic_daoxe_agent/requirements.txt

Comment thread examples/model_providers/mcp_basic_daoxe_agent/README.md
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