Cline access
Cline officially provides the OpenAI Compatible provider, which requires filling in the Base URL, API Key and Model ID. ShangHai Do can use this entrance directly.
If not yet installed, follow Cline installation guide to install the extension. An agent is an assistant that can read and write files and carry out tasks.
Configuration Steps
- Install the official Cline extension in the VS Code extension market and open it.
- Click the gear icon in the Cline panel to enter settings.
- Select OpenAI Compatible in API Provider.
- Fill in:
| Field | Fill in content |
|---|---|
| Base URL | https://shanghaido.com/v1 |
| API Key | Your site token, such as YOUR_API_KEY |
| Model ID | qwen3.8-flash |
- Click Verify (if the button is available in the current version).
- After saving, first send a common question, and then let Cline read a small file.
Cline’s official configuration page also allows you to fill in advanced capabilities such as model context, maximum output, image support, and tool calling. When accessing for the first time, only the capabilities of the model that have been confirmed to be supported will be enabled; for ShangHai Do qwen3.8-flash, you can enable tool calling first, and do not enable image support by default.
FAQ
- Invalid API Key: Confirm that the ShangHai Do token is filled in, and the request header uses Bearer authentication; do not use the site root address as the token.
- Model Not Found: Copy the exact model
idfrom/v1/models. - Connection Error: Base URL only writes to
/v1, do not write to/v1/chat/completions, unless the current version of Cline explicitly requires a complete interface. - Agent will not execute the tool: Confirm that the model supports the tool calling format used by the client, and turn off advanced capabilities that the model does not declare to support.
official information
encountered a problem
If you encounter problems with calling or configuration, please contact the site customer service and provide the model name, error time and error information to facilitate troubleshooting.