diff --git a/CHANGELOG.md b/CHANGELOG.md index c22e7fd..9d9ba55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ `2023-03-09` +衔接 `2.10.1` 版本[详情](https://github.com/Chanzhaoyu/chatgpt-web/releases/tag/v2.10.1) + ## BugFix -- 修复 `2.10.1` 中添加 `OPENAI_API_MODEL` 变量的判断错误,会导致默认模型指定失效 +- 修复 `2.10.1` 中添加 `OPENAI_API_MODEL` 变量的判断错误,会导致默认模型指定失效,抱歉 ## v2.10.1 diff --git a/service/src/chatgpt/index.ts b/service/src/chatgpt/index.ts index f486f88..a9eecd2 100644 --- a/service/src/chatgpt/index.ts +++ b/service/src/chatgpt/index.ts @@ -111,6 +111,7 @@ async function chatReplyProcess( } catch (error: any) { const code = error.statusCode + global.console.log(error) if (Reflect.has(ErrorCodeMessage, code)) return sendResponse({ type: 'Fail', message: ErrorCodeMessage[code] }) return sendResponse({ type: 'Fail', message: error.message ?? 'Please check the back-end console' })