Skip to main content

CodeBuddy

CodeBuddy now provides full coverage across the plugin, IDE, and CLI development scenarios. It offers a full-stack development ecosystem that spans coding, extension, and collaboration.

Prerequisites

  • You have activated a TCB environment and obtained the environment ID cloudBaseEnvID.

  • Enable the required model in the AI console.

  • Obtain the Base URL and API Key in the AI console.

codebuddy

Configuration Steps

You can configure it through the UI, or you can edit the CodeBuddy custom model configuration file for quick configuration.

We use the latest CodeBuddy version as of June 9, 2026, as an example.

  1. Open CodeBuddy and click Open Agents.

codebuddy

  1. In the large model list on the conversation panel, select Configure Custom Model.

codebuddy

  1. Enter the Base URL and API Key copied from the AI console, select an enabled model from the model list in the AI console, copy the model name, enter it, and save.

codebuddy

  1. Select the corresponding large model to start a conversation. (You may need to restart the CodeBuddy panel to find the added model in the model list.)

Common Error Troubleshooting

Error MessageSolution
404 Error: Model Not FoundThe Base URL is entered incorrectly. Go to the AI console to copy the correct Base URL.
401 Error: Credentials are invalidThe API Key is entered incorrectly or may have been deleted.
Request too frequent, please try again later: Token usage exceeded quota limitAn incorrect large model name is configured, or the large model is not enabled in the AI console.