Skip to content

feat(provider): add QwenCloud International - #43674

Closed
navegantesjr wants to merge 1 commit into
anomalyco:devfrom
navegantesjr:qwencloud-provider
Closed

feat(provider): add QwenCloud International#43674
navegantesjr wants to merge 1 commit into
anomalyco:devfrom
navegantesjr:qwencloud-provider

Conversation

@navegantesjr

Copy link
Copy Markdown

Summary

Closes#43067. Registers QwenCloud International so it resolves to @ai-sdk/openai-compatible against the DashScope International endpoint https://dashscope-intl.aliyuncs.com/compatible-mode/v1.

  • packages/llm/.../openai-compatible-profile.ts + openai-compatible.ts: add the qwencloud profile/export (native LLM route path).
  • packages/ui/.../provider-icons: add a qwencloud icon (reuses Alibaba artwork) and register it in types.ts.
  • packages/stats/.../model-catalog.ts: map qwencloud lab slug to alibaba for stats grouping.
  • packages/opencode/test/provider/qwencloud.test.ts: offline test asserting the 4 models resolve to the intl OpenAI-compatible endpoint and the auth env vars are carried.

Note: the actual model/endpoint catalog entry lives in anomalyco/models.dev (PR #5131). Once that catalog is deployed, QwenCloud surfaces in the provider picker; this PR wires opencode to consume it.

Test plan

  • cd packages/opencode && bun test test/provider/qwencloud.test.ts
  • bun typecheck in packages/opencode, packages/llm, packages/ui, packages/stats

🤖 Generated with opencode

Registers QwenCloud International (Qwen models via the DashScope International OpenAI-compatible endpoint) so it resolves to @ai-sdk/openai-compatible with the intl base URL.
- llm: add qwencloud to the openai-compatible profile/exports.
- ui: add qwencloud provider icon (reuses Alibaba artwork) and stats lab mapping.
- test: resolve qwencloud models to the intl OpenAI-compatible endpoint.
@github-actionsgithub-actionsBot added the needs:compliance This means the issue will auto-close after 2 hours. label Aug 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actionsgithub-actionsBot removed the needs:compliance This means the issue will auto-close after 2 hours. label Aug 20, 2026
Sign up for freeto 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 QwenCloud International Provider

2 participants

@navegantesjr@web-flow