Skip to content

Commit

Permalink
fix: 更换website总结网站内容默认模型
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 committed Jul 1, 2023
1 parent 80b320f commit f1da0d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/tools/WebsiteTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f1da0d3

Please sign in to comment.