Add proxy and optimize ChatGPT

This commit is contained in:
Changhua
2023-04-02 17:32:55 +08:00
parent ecfcdd3f19
commit e96f3800e8
4 changed files with 34 additions and 15 deletions

View File

@@ -39,8 +39,10 @@ logging:
handlers: [console, info_file_handler, error_file_handler]
groups:
enable: [] # 允许响应的群 roomId可以通过 WxGetContacts 获取
enable: [] # 允许响应的群 roomId大概长这样2xxxxxxxxx3@chatroom
chatgpt:
key: your key
api: https://api.openai.com/v1
# 如果要使用 ChatGPT取消下面的注释并填写相关内容
# chatgpt:
# key: 填写你 ChatGPT 的 key
# api: https://api.openai.com/v1 # 如果你不知道这是干嘛的,就不要改
# proxy: # 如果你在国内你可能需要魔法大概长这样http://域名或者IP地址:端口号