mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
fix: 修复非智能模式的functions报错
This commit is contained in:
parent
dd249615e4
commit
6ba96eecc7
1 changed files with 2 additions and 1 deletions
|
|
@ -1867,7 +1867,8 @@ export class chatgpt extends plugin {
|
||||||
}
|
}
|
||||||
this.chatGPTApi = new ChatGPTAPI(opts)
|
this.chatGPTApi = new ChatGPTAPI(opts)
|
||||||
let option = {
|
let option = {
|
||||||
timeoutMs: 120000
|
timeoutMs: 120000,
|
||||||
|
completionParams
|
||||||
// systemMessage: promptPrefix
|
// systemMessage: promptPrefix
|
||||||
}
|
}
|
||||||
option.systemMessage = system
|
option.systemMessage = system
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue