Prerequisites
- gpt_academic installed and running
- A CometAPI account with an active API key
Setup
Get your CometAPI API key
Log in to the CometAPI dashboard. Click Add API Key and copy your key and base URL (

https://api.cometapi.com).

Edit config.py
Open 
gpt_academic/config.py. Set the API endpoint to https://api.cometapi.com/v1/chat/completions and paste your CometAPI key as the API key value.