Project code: https://github.com/zhayujie/chatgpt-on-wechat
In the configuration file config.json, modify the following settings. If these two configurations cannot be found, please add them below the original configuration:
"open_ai_api_base": "https://api.302.ai/v1/chat/completions",
"open_ai_api_key": "", #Management backend - Use API - API Keys - Copy an API KEY
The api_key needs to be copied from Management Backend - Use API - API Keys
Configuration example: