Uh oh!
There was an error while loading. Please reload this page.
feat(provider): add QwenCloud International - #43674
Closed
navegantesjr wants to merge 1 commit into
Closed
Conversation
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.
Contributor
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
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. |
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes#43067. Registers QwenCloud International so it resolves to
@ai-sdk/openai-compatibleagainst the DashScope International endpointhttps://dashscope-intl.aliyuncs.com/compatible-mode/v1.packages/llm/.../openai-compatible-profile.ts+openai-compatible.ts: add theqwencloudprofile/export (native LLM route path).packages/ui/.../provider-icons: add aqwencloudicon (reuses Alibaba artwork) and register it intypes.ts.packages/stats/.../model-catalog.ts: mapqwencloudlab slug toalibabafor 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.tsbun typecheckinpackages/opencode,packages/llm,packages/ui,packages/stats🤖 Generated with opencode