feat: gpt35-16k

This commit is contained in:
archer
2023-06-14 09:45:49 +08:00
parent 0a0febd2e6
commit dab70378bb
10 changed files with 30 additions and 26 deletions

View File

@@ -177,7 +177,7 @@ export const getApiKey = async ({
};
// 有自己的key
if (!mustPay && keyMap[model].userOpenAiKey) {
if (!mustPay && keyMap[model]?.userOpenAiKey) {
return {
user,
userOpenAiKey: keyMap[model].userOpenAiKey,