feat(ai): add 阿里云百炼(Coding Plan) provider with static model fallback#940
Open
bigboss2063 wants to merge 1 commit intocodexu:devfrom
Open
feat(ai): add 阿里云百炼(Coding Plan) provider with static model fallback#940bigboss2063 wants to merge 1 commit intocodexu:devfrom
bigboss2063 wants to merge 1 commit intocodexu:devfrom
Conversation
Contributor
Author
|
fix #915 |
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.
新增并完善阿里云百炼(Coding Plan)供应商支持:接入官方 OpenAI 兼容
baseURL(https://coding.dashscope.aliyuncs.com/v1)、统一供应商标题与展示文案,并修复自定义供应商接入 Coding Plan 时的跨域问题(在createOpenAIClient中统一注入 Tauri@tauri-apps/plugin-http的fetch,避免浏览器 CORS 限制);同时针对 Coding Plan 不支持/v1/models的限制增加静态模型回退(qwen3.5-plus、qwen3-max-2026-01-23、qwen3-coder-next、qwen3-coder-plus、glm-5、glm-4.7、kimi-k2.5、MiniMax-M2.5),使“新模型”配置支持下拉选择并提升整体可用性。