feat: add ModelScope as a new LLM provider#2150
Open
liyidd wants to merge 1 commit intostackblitz-labs:mainfrom
Open
feat: add ModelScope as a new LLM provider#2150liyidd wants to merge 1 commit intostackblitz-labs:mainfrom
liyidd wants to merge 1 commit intostackblitz-labs:mainfrom
Conversation
Add ModelScope (modelscope.cn) as a provider for accessing open-source models including Qwen/Qwen3-14B, Qwen/Qwen3-32B, and Qwen/Qwen3-235B-A22B via an OpenAI-compatible API at api.modelscope.cn/v1. Supports both static model list and dynamic model discovery via the /v1/models endpoint.
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 ModelScope as a new LLM provider
Summary
Adds ModelScope (魔搭社区) as a high-performance LLM provider to Bolt.diy, focusing on the latest Qwen3 series and MoE (Mixture of Experts) architectures optimized for mainland China connectivity and developer efficiency.
Changes
New Provider (1)
Model Enhancements
Integrated the latest Qwen3 flagship models via ModelScope's infrastructure:
Total Models Added
Coding Model Performance
Technical Details
ModelScopeProviderusing the standard OpenAI-compatible protocol atapi.modelscope.cn/v1.MODELSCOPE_API_KEYto support authenticated requests./v1/modelsendpoint.LLMManagerfollowing the project's existing provider pattern.Test Plan
@blitz/lines-around-commentand Prettier indentation errors..env.examplewith the new environment variable.Coding Focus
This PR enhances Bolt.diy's accessibility for developers in regions with restricted global LLM access by adding:
Breaking Changes
Related Issues