This gist provides the global configuration block required to expose all custom mytcloud
AI models inside OpenCode.
Append the contents of opencode-config.json
directly into your global OpenCode profile config file:
Path:~/.config/opencode/opencode.json
opencode auth login
-
Select Other when prompted for the provider type. - Provide the identifier name:
mytcloud -
Input your API token.
Launch the tool inside your project directory to synchronize dependencies and select targets:
opencode
- Execute
/connect
inside the terminal interface and choosemytcloud. - Use
/models
to switch your default active context profile to any of the newly initialized models likeDeepSeek V4 Pro. Use code with caution.If you want, tell me:If you need an added section details detailing proxy setups or custom environment variablesIf you want to use a one-liner cURL script snippet in the markdown documentation to directly pull the raw .json file down to the machine configuration foldersI can update the documentation layout immediately.