Skip to content

feat: add TokenDance channel - #655

Merged
zijiren233 merged 1 commit into
labring:mainfrom
zijiren233:feat/tokendance-channel
Sep 18, 2026
Merged

zijiren233 merged 1 commit into
labring:mainfrom
zijiren233:feat/tokendance-channel

Conversation

@zijiren233

Copy link
Copy Markdown
Member

Add a dedicated TokenDance channel (type 59) with the official default endpoint https://tokendance.space/gateway/v1, API key guidance, and links to its documentation and public model catalog.

The adaptor reuses the OpenAI implementation for chat completions, Responses, embeddings, image generation and editing, and Anthropic/Gemini request conversion. Supported modes are limited to those paths; model IDs are configured according to the catalog's supported_protocols. Channel registration and Swagger enums are updated.

Validation:

  • 762 tests passed across model, controller, adaptor registry, and OpenAI packages; the new adaptor compiles.
  • golangci-lint reported no issues in the affected packages.
  • Verified endpoint paths against official documentation and successfully fetched the public model catalog.
  • Authenticated inference was not tested.

@zijiren233
zijiren233 merged commit 4b4317b into labring:main Sep 18, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant