feat: API3支持plus用户的GPT-4

This commit is contained in:
ikechan8370 2023-03-15 11:22:26 +08:00
parent 704b76c3e9
commit 13c4fae629
3 changed files with 8 additions and 1 deletions

View file

@ -65,7 +65,7 @@ export class OfficialChatGPTClient {
}
}
],
model: Config.plus ? 'text-davinci-002-render-sha' : 'text-davinci-002-render-sha',
model: Config.useGPT4 ? 'gpt-4' : 'text-davinci-002-render-sha',
parent_message_id: parentMessageId
}
if (conversationId) {