Cline / Roo Code
Cline and Roo Code are both AI coding extensions for VSCode, and both support OpenAI-compatible connections.
Install the extension
Open VSCode → Extensions (Ctrl/Cmd + Shift + X) → search for Cline or Roo Code → install. After installing, the corresponding icon appears in the left sidebar.
Configure
- Create a token in the Console (use a non-cconly group such as
claude-max/claude-kiroorcodex). - Open the extension, go to API Configuration / Settings, and fill in as below:
| Setting | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://tian-shu.org/v1 |
| API Key | your Tianshu token |
| Model ID | a model name from that group on the Model Marketplace |
- Save (Done) to start using it.
Request format
When connecting in Roo Code / Cline, if there's a "request format" option, prefer the OpenAI Compatible / OpenAI Response format.
Security reminder
Keep your API Key safe; don't leak it in group chats or public screenshots.
