Skip to content

feat: add DaoXE OpenAI-compatible provider#1733

Open
seven7763 wants to merge 1 commit into
Portkey-AI:mainfrom
seven7763:feat/add-daoxe-provider
Open

feat: add DaoXE OpenAI-compatible provider#1733
seven7763 wants to merge 1 commit into
Portkey-AI:mainfrom
seven7763:feat/add-daoxe-provider

Conversation

@seven7763

Copy link
Copy Markdown

Description: (required)

  • Add DaoXE as a first-class OpenAI-compatible provider in the AI Gateway.
  • Fixed base URL: https://daoxe.com/v1 (Chat Completions path).
  • Auth: Authorization: Bearer <DAOXE_API_KEY>.
  • Model IDs are account-scoped — no static public model/price catalog in this PR.
  • DaoXE is a multi-model multi-protocol API gateway; this provider wires the OpenAI-compatible Chat Completions surface that Portkey routes through open-ai-base. The DaoXE platform also exposes Anthropic Messages and other protocols for clients that speak those APIs.
  • Not available in mainland China.
  • Pattern mirrors existing lightweight OAI providers (e.g. aibadgr): api.ts + chatComplete params/stream transform + VALID_PROVIDERS + providers.json metadata.

Usage (after merge):

from portkey_ai import Portkey

client = Portkey(
    provider="daoxe",
    Authorization="<DAOXE_API_KEY>",
)
# model = exact ID from the user's DaoXE account / GET https://daoxe.com/v1/models

Tests Run/Test cases added: (required)

  • Static review against aibadgr provider pattern
  • providers.json validates as JSON; single additive entry only
  • Live gateway e2e against a real DaoXE key (not run in this PR environment — happy to re-run if maintainers want a workflow test recipe)

Type of Change:

  • New feature (non-breaking change which adds functionality)

Links

Register DaoXE multi-model multi-protocol gateway as a first-class
provider using the OpenAI-compatible Chat Completions path at
https://daoxe.com/v1. Account-scoped model IDs only; no static catalog.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
seven7763 added a commit to seven7763/DaoXE-AI that referenced this pull request Jul 14, 2026
Link open Portkey-AI/gateway#1733 and interim OpenAI-compatible setup.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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