chatgpt-on-wechat Setup
Point chatgpt-on-wechat at this relay by editing `config.json` (or the project's config template).
Point chatgpt-on-wechat at this relay by editing config.json (or the project's config template).
Required OpenAI / relay fields
# OpenAI API settings "open_ai_api_key": "sk-xxxxxx", # OpenAI API key # API base; required when use_azure_chatgpt is true "open_ai_api_base": "https://api.digislash.com/v1",jsonMinimal config.json example:
{ "open_ai_api_key": "sk-xxxxxx", "open_ai_api_base": "https://api.digislash.com/v1", "model": "gpt-4o", "bot_type": "chatGPT" }jsonNotes
- Use an OpenAI-compatible key from this site's console.
- Set
open_ai_api_basetohttps://api.digislash.com/v1(or your tenant API base). - For OpenAI-compatible third-party bots, set
"bot_type": "chatGPT". - Other fields (
single_chat_prefix, group triggers, DALL·E, rate limits, etc.) follow the upstream project'sconfig.py/ docs — keep them as needed; only the API key and base URL must point at the relay. - Full option list: see
common/const.pyand the project's README.
