We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7d0376 commit c17cc16Copy full SHA for c17cc16
CHANGELOG.md
@@ -2,8 +2,10 @@
2
3
`2023-03-09`
4
5
+衔接 `2.10.1` 版本[详情](https://github.com/Chanzhaoyu/chatgpt-web/releases/tag/v2.10.1)
6
+
7
## BugFix
-- 修复 `2.10.1` 中添加 `OPENAI_API_MODEL` 变量的判断错误,会导致默认模型指定失效
8
+- 修复 `2.10.1` 中添加 `OPENAI_API_MODEL` 变量的判断错误,会导致默认模型指定失效,抱歉
9
10
## v2.10.1
11
service/src/chatgpt/index.ts
@@ -111,6 +111,7 @@ async function chatReplyProcess(
111
}
112
catch (error: any) {
113
const code = error.statusCode
114
+ global.console.log(error)
115
if (Reflect.has(ErrorCodeMessage, code))
116
return sendResponse({ type: 'Fail', message: ErrorCodeMessage[code] })
117
return sendResponse({ type: 'Fail', message: error.message ?? 'Please check the back-end console' })
0 commit comments