Skip to content

feat(ai): add DaoXE as a model provider - #13783

Open
seven7763 wants to merge 1 commit into
1Panel-dev:dev-v2from
seven7763:feat/daoxe-provider
Open

feat(ai): add DaoXE as a model provider#13783
seven7763 wants to merge 1 commit into
1Panel-dev:dev-v2from
seven7763:feat/daoxe-provider

Conversation

@seven7763

Copy link
Copy Markdown

What this PR does / why we need it?

Adds DaoXE as a selectable AI agent model provider. DaoXE is an
OpenAI-compatible multi-model LLM gateway (hundreds of models behind one API key) that
also serves Anthropic Messages on the same account, so it can back both OpenAI-type and
Claude-type agent flows in 1Panel.

Affiliation disclosure for transparency: I maintain this gateway, and this PR registers
it in the provider catalog the same way existing gateways (OpenRouter, DeepSeek, ...)
are registered.

Summary of your change

  • agent/app/provider/catalog.go: new daoxe entry (Sort 57, next to OpenRouter) with
    openai-completions / openai-responses / openai-embeddings on
    https://api.daoxe.com/v1 (model discovery enabled — standard GET /v1/models) and an
    anthropic-messages config on https://api.daoxe.com (x-api-key default, bearer
    optional). Added to legacyModelPrefixes. No hardcoded model list: models are
    discovered at runtime, so the entry stays correct as the catalog behind it changes.
  • frontend/src/utils/agent-provider-logo.ts: provider logo, inlined as an SVG data URI
    so no binary asset is added to the repo (happy to switch to a committed
    ai-providers/daoxe.svg if maintainers prefer the file convention).
  • No verify.go / openclaw.go / agents special-cases needed: DaoXE is a keyed provider
    using the standard bearer-verification path (unlike ollama/llmman local runners).

Testing: go build / go vet / gofmt -l on agent/app/provider,
agent/app/service, agent/utils/terminal/ai pass; prettier --check and eslint pass
on the touched frontend file; live GET /v1/models on the gateway verified to return the
standard {"data": [...]} shape used by DiscoverModels. Not yet run against a live
1Panel/OpenClaw deployment.

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

DaoXE (https://daoxe.com) is an OpenAI-compatible multi-model LLM
gateway that also serves Anthropic Messages. Register it in the agent
provider catalog next to OpenRouter with model discovery on the
OpenAI-compatible routes, and add its provider logo using an inline
SVG data URI so no binary asset is added to the repository.
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