WorkBuddy access

WorkBuddy official documentation supports adding third-party models through the "Custom API/Custom" of the graphical interface. ShangHai Do uses Chat Completions, which is a common OpenAI compatible conversation format.

If not yet installed, follow WorkBuddy Windows installation guide or Mac installation guide to install the client.

Graphical interface configuration

  1. Open WorkBuddy.
  2. Enter Settings → Model.
  3. Click Add Model and select Custom API or Custom in the provider list.
  4. Fill in the following content:
WorkBuddy field Fill in content
URL / Base URL https://shanghaido.com/v1
API Key Your site token, such as YOUR_API_KEY
Model name / Model qwen3.8-flash

If you are using a self-built ShangHai Do site, replace the domain name with your own root address. The standard OpenAI compatibility mode will automatically use /chat/completions, so just fill in the URL to /v1. Do not fill in the complete interface path repeatedly.

  1. If the interface requires filling in capability tags, only the capabilities actually supported by the site's model will be opened. qwen3.8-flash You can open the tool call first; do not check the image input in order to display the image button.
  2. After saving, select the custom model in the model selector on the dialog page.

When to use the custom protocol switch?

WorkBuddy official documentation states: When the custom protocol is turned off, /chat/completions will be verified and completed in the standard way; after it is turned on, the URL you filled in will be used as a direct request for the complete interface address.

Therefore, when accessing ShangHai Do, use the following priority:

https://shanghaido.com/v1

The custom agreement will only be opened when you explicitly fill in the complete address below:

https://shanghaido.com/v1/chat/completions

Do not use the two writing methods at the same time, otherwise there may be path duplication.

Where is the configuration saved?

WorkBuddy official description The model configuration and API Key are saved in workbuddy/models.json on the local machine, and are also compatible with models previously added through ~/.codebuddy/models.json. This article uses the officially recommended interface configuration method to avoid inconsistencies between manual fields and client versions.

Do not expose this configuration file containing the real token. When using a custom model, the conversation content will be sent to the model service address you fill in.

Usage and troubleshooting

First send "Please reply: Connection successful", and then let WorkBuddy do a small file reading task.

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.