mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
feat: 暂时不使用chatgpt-api库,拷贝了部分其代码进行修改
This commit is contained in:
parent
b8bd3dfec9
commit
d0dcc50764
5 changed files with 1166 additions and 19 deletions
|
|
@ -15,12 +15,13 @@ export const Config = {
|
|||
// 改为true后,全局默认以图片形式回复,并自动发出Continue命令补全回答
|
||||
defaultUsePicture: true,
|
||||
// 每个人发起的对话保留时长。超过这个时长没有进行对话,再进行对话将开启新的对话。单位:秒
|
||||
conversationPreserveTime: 600,
|
||||
// conversationPreserveTime: 600,
|
||||
// UA: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
|
||||
// headless: false,
|
||||
// 服务器无interface的话只能用true,但是可能遇到验证码就一定要配置下面的2captchaToken了
|
||||
headless: false,
|
||||
// 为空使用默认puppeteer的chromium,也可以传递自己本机安装的Chrome可执行文件地址,提高通过率
|
||||
// 目前库暂时不支持指定chrome
|
||||
// chromePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
|
||||
// 可注册2captcha实现跳过验证码,收费服务但很便宜
|
||||
chromePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
|
||||
// 可注册2captcha实现跳过验证码,收费服务但很便宜。否则需要手点
|
||||
'2captchaToken': ''
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue