fix: fixed bug for chat request's token reach the max token limit for OpenAI

This commit is contained in:
RockYang
2023-08-01 17:58:03 +08:00
parent 9eb8da2789
commit fdd659f393
3 changed files with 30 additions and 12 deletions

View File

@@ -274,7 +274,7 @@ const title = ref('ChatGPT-智能助手');
const logo = 'images/logo.png';
const rewardImg = ref('images/reward.png')
const models = ref([])
const model = ref('gpt-3.5-turbo')
const model = ref('gpt-3.5-turbo-16k')
const chatData = ref([]);
const allChats = ref([]); // 会话列表
const chatList = ref(allChats.value);