fix: 加入重试机制

This commit is contained in:
ikechan8370 2023-02-10 10:46:31 +08:00
parent 233fc7417c
commit b0738c6db6
4 changed files with 39 additions and 27 deletions

View file

@ -16,9 +16,9 @@ export const Config = {
// 触发方式 可选值at 或 prefix 。at模式下只有at机器人才会回复。prefix模式下不需要at但需要添加前缀#chat
toggleMode: 'at',
// 默认完整值:`You are ${this._assistantLabel}, a large language model trained by OpenAI. You answer as concisely as possible for each response (e.g. dont be verbose). It is very important that you answer as concisely as possible, so please remember this. If you are generating a list, do not have too many items. Keep the number of items short. Current date: ${currentDate}\n\n
// 此项配置会覆盖掉中间部分
// 你可以在这里写入你希望AI回答的风格比如希望优先回答中文去掉尽可能简洁的要求
// 此项配置会覆盖掉中间部分。保持为空将使用网友从对话中推测出的指令。
// 你可以在这里写入你希望AI回答的风格比如希望优先回答中文回答长一点
promptPrefixOverride: '',
// AI认为的自己的名字
// AI认为的自己的名字,当你问他你是谁是他会回答这里的名字
assistantLabel: 'ChatGPT'
}