Description
#5615
After the above issue we can fetch the siliconflow-cn's model but cannot use it.
To make siliconflow-cn works with opencode, it should use the name in the config instead of id.
OpenCode version
1.0.207
Steps to reproduce
For example, I tested it with deepseek-ai/DeepSeek-V3.2-Exp. It returns Bad Request: Model does not exist. Please check it carefully.
I checked the data in ~/.local/share/opencode/storage/message/ses_491b34852ffeUXhAHgQZeQ6iLm/, the output are the following.
After I changed the model's ID to its name in ~/.cache/opencode/models.json, opencode returns the correct result.
Screenshot and/or share link
No response
Operating System
macOS 15.3.1
Terminal
Alacritty