Skip to content

feat: add D.Run (China) provider support#16605

Open
samzong wants to merge 1 commit intoanomalyco:devfrom
samzong:feat/add-drun-provider
Open

feat: add D.Run (China) provider support#16605
samzong wants to merge 1 commit intoanomalyco:devfrom
samzong:feat/add-drun-provider

Conversation

@samzong
Copy link

@samzong samzong commented Mar 8, 2026

  • Register drun in CUSTOM_LOADERS (provider.ts)
  • Add official d.run logo SVG

Companion PR: anomalyco/models.dev#1083 (merged)

Issue for this PR

Closes #16604

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds D.Run (China) as a provider. D.Run is DaoCloud's OpenAI-compatible inference platform.
The models.dev definition was merged in anomalyco/models.dev#1083 — this PR adds the opencode-side wiring:

  • provider.tsdrun entry in CUSTOM_LOADERS (autoload: false, no special options needed)
  • drun.svg — official provider logo using currentColor for theme compatibility
    Models available through D.Run: MiniMax M2.5, DeepSeek R1, DeepSeek V3.

How did you verify your code works?

Confirmed drun appears in the provider list after opencode auth and can authenticate with DRUN_API_KEY.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

- Register drun in CUSTOM_LOADERS (provider.ts)
- Add official d.run logo SVG

Companion PR: anomalyco/models.dev#1083 (merged)
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.

[FEATURE]: add D.Run (China) provider support

1 participant