-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 5xx error when open index page before login #440
Conversation
新增了聊天数量限制功能
回滚了中英文README,更新了新增的代码注释
新增了聊天数量限制功能,完善了代码注释和新增数据库注释
新增了聊天数量限制功能,完善代码和数据库注释
add usage limit switch chatgpt-web-dev#435 fix error when loading page chatgpt-web-dev#436 maybe fixed chatgpt-web-dev#438
Signed-off-by: ccjaread <[email protected]>
sorry to say, but the codes changes seems more vulnerable than previous commit.
|
thank you for the opinions, some of those I had considered
|
您好,非常感谢您修复了500的问题,我使用了您的pull,在每次完成对话后,后台会报错: MongoServerError: Cannot apply $inc to a value of non-numeric type. {_id: ObjectId('65db464c729646046450dd6a')} has the field 'useAmount' of non-numeric type null at (/app/node_modules/.pnpm/[email protected]/node_modules/mongodb/src/operations/update.ts:154:44) at (/app/node_modules/.pnpm/[email protected]/node_modules/mongodb/src/operations/command.ts:173:14) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { index: 0, code: 14, [Symbol(errorLabels)]: Set(0) {} } 还有一个问题,就是对话输出可能会不完整,我以为是API的问题,结果我登出再登录发现输出变成完整的了,这是什么情况呢? |
登出再登录我发现没必要,只要刷新页面就会显示出完整的答案。 |
ping @ccjaread |
MongoServerError Cannot apply inc to a value of non-numeric type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry for the delayed response.
Fixes #435
Fixes #436
Fixes #438
Fixes #442
Fixes #446
Fixes #447