feat(provider): add DaoXE multi-model gateway#6854
Open
seven7763 wants to merge 1 commit into
Open
Conversation
Add DaoXE as a built-in OpenAI-compatible provider (Chat Completions at https://daoxe.com/v1). Model IDs come from account GET /v1/models; no static public price list. Not available in mainland China. Signed-off-by: seven7763 <seven7763@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add DaoXE as a built-in OpenAI-compatible provider for NextChat, following the SiliconFlow / 302.AI pattern.
https://daoxe.com(Chat Completions at/v1/chat/completions)GET /v1/models(account-scoped; no static public price list)Files
app/client/platforms/daoxe.ts,app/api/daoxe.tsconstant.ts,access.ts,client/api.ts,auth.ts,server.ts,settings.tsx, locales,.env.templateI maintain DaoXE. Examples: https://github.com/seven7763/DaoXE-AI
Why
NextChat is widely used among price-sensitive builders in Vietnam and CIS Russian-speaking communities. A named provider is clearer than manual OpenAI custom base URL.
Test plan
GET /v1/modelsDAOXE_API_KEYserver env for reverse proxy path