fix: 加了一系列管理功能

This commit is contained in:
ikechan8370 2023-03-14 19:16:21 +08:00
parent 8ea7ab07ec
commit 3f08cf4894
8 changed files with 97 additions and 5 deletions

View file

@ -24,7 +24,7 @@ const newFetch = (url, options = {}) => {
return fetch(url, mergedOptions)
}
const question = '写一段话让大家来找我聊天。类似于“有人找我聊天吗?"这种风格轻松随意一点控制在20个字以内'
const question = Config.helloPrompt || '写一段话让大家来找我聊天。类似于“有人找我聊天吗?"这种风格轻松随意一点控制在20个字以内'
export async function generateHello () {
let api = new ChatGPTAPI({