Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion massgen/configs/BACKEND_CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ backend:

Generic backend supporting multiple providers (v0.0.18+ with MCP).

Supports: Cerebras AI, Together AI, Fireworks AI, Groq, Nebius AI Studio, OpenRouter, Kimi/Moonshot, and any OpenAI-compatible API.
Supports: Cerebras AI, Together AI, Fireworks AI, Groq, Nebius AI Studio, OpenRouter, Kimi/Moonshot, DaoXE, and any OpenAI-compatible API.

```yaml
backend:
Expand Down Expand Up @@ -365,6 +365,30 @@ backend:
- **OpenRouter**: `https://openrouter.ai/api/v1`
- **Nvidia NIM**: `https://integrate.api.nvidia.com/v1`
- **Kimi/Moonshot**: `https://api.moonshot.cn/v1`
- **DaoXE**: `https://daoxe.com/v1` (multi-model multi-protocol gateway; Chat Completions path; account-scoped model IDs; not available in mainland China)

### Example: DaoXE multi-protocol gateway

[DaoXE](https://daoxe.com) is a multi-model multi-protocol API gateway. Use the Chat Completions backend with account-scoped model IDs from your DaoXE dashboard (`GET /v1/models`). Not available in mainland China.

```yaml
backend:
type: "chatcompletion"
model: "YOUR_DAOXE_MODEL_ID"
base_url: "https://daoxe.com/v1"
# Chat Completions backend falls back to OPENAI_API_KEY when api_key is omitted.
# Prefer an explicit key if you keep multiple OpenAI-compatible backends configured:
api_key: "${OPENAI_API_KEY}"
```

Export a DaoXE key into the env var the backend actually reads:

```bash
export OPENAI_API_KEY="<your-daoxe-api-key>"
# optional if your process does not load the YAML value above:
# export OPENAI_BASE_URL="https://daoxe.com/v1"
```

Comment thread
coderabbitai[bot] marked this conversation as resolved.

---

Expand Down