Prerequisites
- AstrBot deployed and its console accessible
- A Qhaigc API key — get yours from the API Tokens page
Configure AstrBot
Add a new provider
Click Add Provider, then:
- Select OpenAI as the provider type.
- Enter your Qhaigc API key (starts with
sk-) in the API Key field. - Enter
https://api.qhaigc.net/v1in the API Base URL field. - Save the provider.
Pull and enable models
- Click Get Model List to fetch available models from Qhaigc.
- Select the models you want to use.
- Enable each selected model.
Verify the Connection
- Send a message to your bot through QQ, WeChat, Telegram, or another connected platform.
- A successful reply confirms that the provider and model are correctly configured.
If the bot does not respond after configuration, first check that a default model is selected in Configuration and that the relevant platform adapter is bound to the bot.