feat: 各模式分开的指令

This commit is contained in:
ikechan8370 2023-03-20 22:52:38 +08:00
parent c72df75d5a
commit c53b86c181
5 changed files with 193 additions and 42 deletions

View file

@ -251,7 +251,7 @@ export default class SydneyAIClient {
author: 'user'
},
{
text: `你好,我是${Config.sydneyBrainWashName}.`,
text: `我是${Config.sydneyBrainWashName}.`,
author: 'bot'
}
]

View file

@ -45,7 +45,7 @@ const defaultConfig = {
useGPT4: false,
promptPrefixOverride: 'Your answer shouldn\'t be too verbose. Prefer to answer in Chinese.',
assistantLabel: 'ChatGPT',
thinkingTips: true,
// thinkingTips: true,
username: '',
password: '',
UA: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
@ -67,7 +67,8 @@ const defaultConfig = {
enableDraw: true,
helloPrompt: '写一段话让大家来找我聊天。类似于“有人找我聊天吗?"这种风格轻松随意一点控制在20个字以内',
chatglmBaseUrl: 'http://localhost:8080',
version: 'v2.2.4'
allowOtherMode: true,
version: 'v2.3.0'
}
const _path = process.cwd()
let config = {}