Add a new provider for qwen3-coder-plus requests --> alibaba-cn
Opencode Providers
alibaba is the international site; the endpoint for its qwen3-coder-plus model is
https://dashscope-intl.aliyuncs.com/compatible-mode/v1
alibaba-cn is the China-focused site, more convenient for mainland users. We generally use the latter; its endpoint is
https://dashscope.aliyuncs.com/compatible-mode/v1
Note that the API keys for the two sites are not interchangeable.
When I use the API key I applied for on alibaba-cn and enter it into the current “alibaba” option in Opencode, it doesn’t work.
你可以手动配置一下。系统目录-.config/opencode/opencode.json文件里。你按我这个配置方式把url、api、模型替换了就能用。
你可以手动配置一下。系统目录-.config/opencode/opencode.json文件里。你按我这个配置方式把url、api、模型替换了就能用。
感谢🙏
你可以手动配置一下。系统目录-.config/opencode/opencode.json文件里。你按我这个配置方式把url、api、模型替换了就能用。
感谢🙏
https://opencode.ai/docs/providers/ 嗯,他们网站比较清楚,关于模型的部分在providers里写的比较清楚,我就照着配置的。还有很多配置也都可以写到json文件里。供参考
Added "Alibaba (China)" provider with https://dashscope.aliyuncs.com/compatible-mode/v1 endpoint.
Thanks @LePao1!
你可以手动配置一下。系统目录-.config/opencode/opencode.json文件里。你按我这个配置方式把url、api、模型替换了就能用。