mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47: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
|
fetch: newFetch
|
||||||
})
|
})
|
||||||
let option = {
|
let option = {
|
||||||
timeoutMs: 120000,
|
timeoutMs: 120000
|
||||||
systemMessage: promptPrefix
|
// 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