mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 打招呼prompt不能热更新的问题
This commit is contained in:
parent
06fd121950
commit
673fd88141
1 changed files with 1 additions and 1 deletions
|
|
@ -23,9 +23,9 @@ const newFetch = (url, options = {}) => {
|
|||
|
||||
return fetch(url, mergedOptions)
|
||||
}
|
||||
const question = Config.helloPrompt || '写一段话让大家来找我聊天。类似于“有人找我聊天吗?"这种风格,轻松随意一点控制在20个字以内'
|
||||
|
||||
export async function generateHello () {
|
||||
let question = Config.helloPrompt || '写一段话让大家来找我聊天。类似于“有人找我聊天吗?"这种风格,轻松随意一点控制在20个字以内'
|
||||
let api = new ChatGPTAPI({
|
||||
apiBaseUrl: Config.openAiBaseUrl,
|
||||
apiKey: Config.apiKey,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue