mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
fix: 把随机系统消息加回来
This commit is contained in:
parent
317283218a
commit
adc0817731
1 changed files with 4 additions and 4 deletions
|
|
@ -1814,10 +1814,10 @@ export class chatgpt extends plugin {
|
||||||
timeoutMs: 120000
|
timeoutMs: 120000
|
||||||
// systemMessage: promptPrefix
|
// systemMessage: promptPrefix
|
||||||
}
|
}
|
||||||
// if (Math.floor(Math.random() * 100) < 5) {
|
if (Math.floor(Math.random() * 100) < 5) {
|
||||||
// // 小概率再次发送系统消息
|
// 小概率再次发送系统消息
|
||||||
// option.systemMessage = promptPrefix
|
option.systemMessage = promptPrefix
|
||||||
// }
|
}
|
||||||
if (conversation) {
|
if (conversation) {
|
||||||
option = Object.assign(option, conversation)
|
option = Object.assign(option, conversation)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue