Commit 0e4ebff
authored
docs: add OpenAI-compatible gateway example with DaoXE (#6298)
# What does this PR do?
Adds a short docs page showing how to use the existing
**`remote::openai`** inference provider against a third-party
**OpenAI-compatible multi-model gateway**, with
[DaoXE](https://daoxe.com) as a concrete example.
DaoXE base URL for OpenAI clients / OGX:
```text
https://daoxe.com/v1
```
The page covers:
- Starter distribution via `OPENAI_API_KEY` +
`OPENAI_BASE_URL=https://daoxe.com/v1`
- Explicit `config.yaml` with `provider_type: remote::openai` and
`provider_id: daoxe`
- OpenAI SDK calls against a local OGX server and against DaoXE directly
- Account-scoped model IDs (discover via authenticated `GET /v1/models`;
no hardcoded catalog)
- Note that DaoXE is multi-protocol (OpenAI + Anthropic Messages, etc.)
but OGX uses the OpenAI-compatible path
- Availability note: **not available in mainland China**
- Maintainer disclosure
Also links the page from the Distributions sidebar and from the OpenAI
Implementation Guide resources.
Related existing docs:
- [Open Responses / OpenAI compatibility
blog](https://github.com/ogx-ai/ogx/blob/main/docs/blog/2026-03-20-open-responses-openai-compatibility.md)
- [`remote::openai`
provider](https://github.com/ogx-ai/ogx/blob/main/docs/docs/providers/inference/remote_openai.mdx)
- [OpenAI API
compatibility](https://github.com/ogx-ai/ogx/blob/main/docs/docs/api-openai/index.mdx)
Examples: https://github.com/seven7763/DaoXE-AI
Note: `meta-llama/llama-stack` redirects to `ogx-ai/ogx` (project
rename). This PR targets the current canonical repo.
## Test Plan
- [ ] Docs page renders at
`/docs/distributions/openai_compatible_gateways`
- [ ] Sidebar **Distributions** lists **OpenAI-compatible gateways**
after Customizing config.yaml
- [ ] Link from `/docs/providers/openai` Additional Resources resolves
- [ ] Internal links resolve (`remote_openai`, starter,
customizing_run_yaml, api-openai, blog slug)
- Docs-only change; no runtime code
Signed-off-by: seven7763 <246023385+seven7763@users.noreply.github.com>
Co-authored-by: seven7763 <246023385+seven7763@users.noreply.github.com>1 parent 441e765 commit 0e4ebff
3 files changed
Lines changed: 116 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
0 commit comments