feat: Add Alibaba Coding Plan Provider#239
Open
MrRolie wants to merge 5 commits intocharmbracelet:mainfrom
Open
feat: Add Alibaba Coding Plan Provider#239MrRolie wants to merge 5 commits intocharmbracelet:mainfrom
MrRolie wants to merge 5 commits intocharmbracelet:mainfrom
Conversation
- Add alibaba.json provider configuration with Qwen models - Register alibaba provider in providers.go - Support for Qwen-Max, Qwen-Plus, Qwen-Turbo, and Qwen-Long models - Uses OpenAI-compatible API endpoint at dashscope.aliyuncs.com Provider supports subscription-based access via Alibaba Cloud Coding Plan.
- Add alibaba-coding-plan provider configuration with 8 models - Use dedicated coding plan API endpoint (coding-intl.dashscope.aliyuncs.com) - Include Qwen, Kimi, MiniMax, and GLM models optimized for coding - Support for subscription-based access via Alibaba Cloud Coding Plan Provider follows opencode pattern with detailed model metadata.
- Update endpoint to coding.dashscope.aliyuncs.com (official endpoint) - Matches official Alibaba Cloud Model Studio documentation
- Endpoint: dashscope-intl.aliyuncs.com/compatible-mode/v1 - Verified working with standard sk- API keys - Compatible with international (non-China) Alibaba Cloud accounts
Author
|
I have read the Contributor License Agreement (CLA) and hereby sign the CLA. |
rawicki
reviewed
Apr 7, 2026
| "default_large_model_id": "qwen3.5-plus", | ||
| "default_small_model_id": "qwen3-coder-next", | ||
| "models": [ | ||
| { |
There was a problem hiding this comment.
should this list contain also qwen-3.6? https://modelstudio.console.alibabacloud.com/ap-southeast-1/?tab=doc#/doc/?type=model&url=2840914_2&modelId=qwen3.6-plus
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 free
to 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.
feat: Add Alibaba Coding Plan Provider
Summary
This PR adds support for Alibaba Cloud's Coding Plan as an inference provider, enabling users to access Qwen, Kimi, GLM, and MiniMax models through Alibaba's DashScope API.
Changes
Added
internal/providers/configs/alibaba-coding-plan.json)alibaba-coding-planhttps://dashscope-intl.aliyuncs.com/compatible-mode/v1ALIBABA_CODING_PLAN_API_KEYModels Included
Technical Details
openai-compattype)Testing
API Key Format
sk-xxxxxxxxDocumentation
Provider follows the same pattern as other providers in the registry:
Related
Checklist: