


Configuration Item | Value |
Base URL | https://<user domain>/v1/chat/completions |
API Key | CMR API Key |
Model Name | Enter the model name or intent route name that can be called by the current API Key. Default: ModelRouter/auto. |
Advanced Settings | Select as needed. |
models.json. The configuration file path is as follows. If the configuration file does not exist, create one.C:\\Users\\<username>\\.codebuddy\\models.json~/.codebuddy/models.jsonmodels.json, and replace <USER_API_KEY> and <user domain> with the actual configuration information of the current CMR instance.{"models": [{"id": "ModelRouter/auto","name": "Tencent Cloud CMR","vendor": "Tencent Cloud","apiKey": "<USER_API_KEY>","url": "https://<user domain>/v1/chat/completions"}]}
ModelRouter/auto indicates that an available model is selected based on the L1 CMR policy. You can also replace the value in id with a model name or intent route name already associated with the current instance. name is the display name of the model in CodeBuddy.models.json already exists, append the above models to models. For more configuration options, see CodeBuddy Code Model Configuration.codebuddy
Operating System: Ubuntu 24.04.3 LTS / x86_64
Runtime Version: GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)


Login Method | Scenario | Description |
Chinese Site | China site user | Authenticate through Tencent Cloud China site (copilot.tencent.com). It supports mainstream models in China. |
International Site | International site user | Authenticate through Tencent Cloud International site (codebuddy.ai). It supports mainstream models outside China. |
Enterprise Domain | Dedicated/private deployment | Connect to the enterprise dedicated or self-hosted CodeBuddy service. Enter the service address provided by the enterprise. |
iOA | Tencent internal employee | Authenticate through Tencent iOA zero trust system. It is available only to Tencent internal employees. |
CodeBuddy Code CLI, type /model, and press Enter.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback