mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 更换website总结网站内容默认模型
This commit is contained in:
parent
80b320ff3a
commit
f1da0d36d9
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ export class WebsiteTool extends AbstractTool {
|
|||
let maxModelTokens = getMaxModelTokens(Config.model)
|
||||
text = text.slice(0, Math.min(text.length, maxModelTokens - 1600))
|
||||
let completionParams = {
|
||||
model: Config.model
|
||||
// model: Config.model
|
||||
model: 'gpt-3.5-turbo-16k'
|
||||
}
|
||||
let api = new ChatGPTAPI({
|
||||
apiBaseUrl: Config.openAiBaseUrl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue