Merge branch 'Yidadaa:main' into main

This commit is contained in:
Hk-Gosuto 2023-08-21 20:18:29 +08:00 committed by GitHub
commit 609155b318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -179,6 +179,9 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
[见项目贡献者列表](https://github.com/Yidadaa/ChatGPT-Next-Web/graphs/contributors)
### 相关项目
- [one-api](https://github.com/songquanpeng/one-api): 一站式大模型额度管理平台,支持市面上所有主流大语言模型
## 开源协议
[MIT](https://opensource.org/license/mit/)

View File

@ -830,7 +830,7 @@ function _Chat() {
(m) => m.id === message.id,
);
if (resendingIndex <= 0 || resendingIndex >= session.messages.length) {
if (resendingIndex < 0 || resendingIndex >= session.messages.length) {
console.error("[Chat] failed to find resending message", message);
return;
}

View File

@ -101,7 +101,7 @@ keepalive_timeout 300; # 设定keep-alive超时时间为65秒
项目通过环境变量 CODE 设置了访问密码。第一次使用时,需要到设置中,输入访问码才可以使用。
## 使用时提示"You exceeded your current quota, ..."
## 使用时提示 "You exceeded your current quota, ..."
API KEY 有问题。余额不足。
@ -122,6 +122,9 @@ API KEY 有问题。余额不足。
注意,关闭此特性后,用户会在第一次访问网站时加载所有资源,如果用户网络状况较差,可能会引起较长时间的白屏,从而影响用户使用体验,所以自行考虑。
## 使用时遇到 "NotFoundError: Failed to execute 'removeChild' on 'Node': The node...."
请关闭浏览器自身的自动翻译功能,并关闭所有自动翻译插件。
# 网络服务相关问题
## Cloudflare 是什么?