Skip to content

fix(workers-ai-provider): support Moonshot unified catalog slugs - #639

Open
edenbuilds wants to merge 1 commit into
cloudflare:mainfrom
edenbuilds:codex/fix-moonshotai-catalog-634
Open

fix(workers-ai-provider): support Moonshot unified catalog slugs#639
edenbuilds wants to merge 1 commit into
cloudflare:mainfrom
edenbuilds:codex/fix-moonshotai-catalog-634

Conversation

@edenbuilds

Copy link
Copy Markdown

Summary

  • register moonshotai as an OpenAI-wire unified-billing run-catalog provider
  • keep it run-path only because it has no native AI Gateway path
  • add registry and delegate regression coverage plus a patch changeset

Verification

  • Regression proof: before the source change, the focused test failed with Unknown gateway provider "moonshotai".
  • After the fix: Workers AI provider gateway tests pass (71/71).
  • Gateway-core registry tests pass (14/14).
  • pnpm --filter workers-ai-provider type-check passes.
  • oxfmt --check and git diff --check pass.
  • pnpm --filter workers-ai-provider build fails identically on untouched main in the existing rolldown-plugin-dts error: Export 'Billing' is not defined.

Fixes #634

…udflare#634)

Register Moonshot AI as an OpenAI-wire, unified-billing run-catalog provider
so configured Workers AI clients can resolve moonshotai/kimi-k3 without a
separate providers-less instance.

Fixes cloudflare#634
@changeset-bot

changeset-bot Bot commented Aug 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b57a507

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
workers-ai-provider Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

workers-ai-provider rejects the Unified Billing moonshotai/Kimi catalog slug before AI.run

1 participant