mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 减少系统消息发送频率,避免太快到达4096token限制
This commit is contained in:
parent
c9361c63b4
commit
1619927bde
1 changed files with 2 additions and 2 deletions
|
|
@ -828,8 +828,8 @@ export class chatgpt extends plugin {
|
|||
fetch: newFetch
|
||||
})
|
||||
let option = {
|
||||
timeoutMs: 120000,
|
||||
systemMessage: promptPrefix
|
||||
timeoutMs: 120000
|
||||
// systemMessage: promptPrefix
|
||||
}
|
||||
if (conversation) {
|
||||
option = Object.assign(option, conversation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue