mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
Conversation communication (#165)
* init: conversation in api3 (WIP) * feat: beta conversation * fix: fix some problems * fix: add help message
This commit is contained in:
parent
a1e72c7757
commit
a3b14b1a79
11 changed files with 658 additions and 215 deletions
|
|
@ -10,6 +10,10 @@ export const Config = {
|
|||
blockWords: ['屏蔽词1', '屏蔽词b'],
|
||||
// 改为true后,全局默认以图片形式回复,并自动发出Continue命令补全回答。长回复可能会有bug。
|
||||
defaultUsePicture: false,
|
||||
// 如果true,字数大于阈值(autoUsePictureThreshold)会自动用图片发送,即使是文本模式。
|
||||
autoUsePicture: true,
|
||||
// 仅当autoUsePicture为true时生效,字数大于该阈值会自动用图片发送,即使是文本模式。
|
||||
autoUsePictureThreshold: 1200,
|
||||
// 每个人发起的对话保留时长。超过这个时长没有进行对话,再进行对话将开启新的对话。单位:秒
|
||||
conversationPreserveTime: 0,
|
||||
// 触发方式 可选值:at 或 prefix 。at模式下只有at机器人才会回复。prefix模式下不需要at,但需要添加前缀#chat
|
||||
|
|
@ -26,6 +30,7 @@ export const Config = {
|
|||
// ***********************************************************************************************************************************
|
||||
// from https://github.com/acheong08/ChatGPT
|
||||
api: 'https://chatgpt.duti.tech/api/conversation',
|
||||
apiBaseUrl: 'https://chatgpt.duti.tech',
|
||||
// ***********************************************************************************************************************************
|
||||
// 以下为API2方式的配置 *
|
||||
// ***********************************************************************************************************************************
|
||||
|
|
@ -60,7 +65,7 @@ export const Config = {
|
|||
'2captchaToken': '',
|
||||
// http或socks5代理
|
||||
proxy: PROXY,
|
||||
debug: false,
|
||||
debug: true,
|
||||
// 各个地方的默认超时时间
|
||||
defaultTimeoutMs: 120000,
|
||||
// bing默认超时时间,bing太慢了有的时候
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue