[FEATURE]: Add support for mainland China version of siliconflow
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The default baseurl for siliconflow in the software is: https://api.siliconflow.com/v1, while the Chinese mainland version of siliconflow uses: https://api.siliconflow.cn/v1. Most Chinese users use the Chinese version of siliconflow as their model provider, and since China is a major provider of open source models, the user experience for Chinese users should be taken into consideration
sounds good
Sounds good
Please add this feature, thank you
yeah we should, just so u are aware or anyone else all the models come from:
models.dev
This is a centralized list and api for models and their capabilities we source all our stuff from there, I think there are several providers we have both a .com and .cn versions
If you or anyone else wants to make a pr to that to do this feel free it shouldnt be too hard
I think this is literally just copy silicon flow and make the cn version
ill try rq
should be there now: https://models.dev/?search=siliconflow+%28china%29
If u wanna see it in opencode ur model list refreshes occasionally, to force refresh do:
opencode models --refresh
Thank you for your answer