chatgpt-plugin/config/index.js
2023-01-11 22:57:23 +08:00

27 lines
1.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Token如不需要手动配置不填
const SESSION_TOKEN = ''
// CFtoken每小时刷新一般不用填
const CF_CLEARANCE = ''
const PROXY = ''
export const Config = {
token: SESSION_TOKEN,
cfClearance: CF_CLEARANCE,
proxy: PROXY,
username: 'geyinchi@foxmail.com',
password: 'Aa699008',
// 改为true后全局默认以图片形式回复并自动发出Continue命令补全回答
defaultUsePicture: false,
// 每个人发起的对话保留时长。超过这个时长没有进行对话,再进行对话将开启新的对话。单位:秒
conversationPreserveTime: 0,
// UA: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
// 服务器无interface的话只能用true但是可能遇到验证码就一定要配置下面的2captchaToken了
// true时使用无头模式无界面的服务器可以为true但遇到验证码时可能无法使用。
headless: false,
// 为空使用默认puppeteer的chromium也可以传递自己本机安装的Chrome可执行文件地址提高通过率
chromePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
// 可注册2captcha实现跳过验证码收费服务但很便宜。否则需要手点
'2captchaToken': '43ea84056638820040af89d03910bb97'
}