Skip to main content

QClaw

QClaw is a localized AI Agent assistant built by Tencent PC Manager based on the OpenClaw open-source ecosystem.

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
Base URLhttps://<ENV_ID>.api.tcloudbasegateway.com/v1/ai/cloudbase

codebuddy

Configuration Steps

We use QClaw-v0.2.25 as an example.

  1. Open the QClaw panel, click the model selection button in the dialog box, and then click Custom Large Model.

qclaw.png

  1. Click Custom Configuration.

qclaw1.png

  1. In the displayed Add Custom Large Model dialog box, fill in the following form information:
FieldDescriptionExample Value
Interface AddressThe request address (Base URL) for the large model API, which is obtained in the AI console and has the format https://{{cloudBaseEnvID}}.api.tcloudbasegateway.com/v1/ai/cloudbase.https://your-env-id.api.tcloudbasegateway.com/v1/ai/cloudbase
API Protocol TypeThe API protocol type. Select OpenAI-Compatible Protocol.OpenAI-Compatible Protocol
API KeyThe key for calling the large model, which is obtained in the AI console.eyJhbGciOiJSUzI1N...
Model NameThe identifier of the large model to be used. Copy the ID of an enabled model from the model list in the AI console and enter it here.hy3-preview

qclaw2.png

  1. After completing the form, click OK to save the configuration and start using it.

qclaw5.png

Common Error Troubleshooting

Error MessageSolution
All models are temporarily rate-limited. Please try again in a few minutes.The Base URL is incorrect. Go to the AI console to copy the correct Base URL. An incorrect large model ID is configured, and the large model is not enabled in the AI console.
401 gent failed before reply: 401 status codeThe API Key is entered incorrectly or may have been deleted.