From f84572443fc53394d2e7372d0856ae72039c60e9 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Mon, 21 Aug 2023 16:00:19 +0800 Subject: [PATCH 1/3] Update faq-cn.md --- docs/faq-cn.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/faq-cn.md b/docs/faq-cn.md index f9463eb95..bf79ef7d9 100644 --- a/docs/faq-cn.md +++ b/docs/faq-cn.md @@ -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 是什么? From a4040fc1ee1665851b0c6fe005bacdc778d51c92 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Mon, 21 Aug 2023 18:30:44 +0800 Subject: [PATCH 2/3] Update README_CN.md --- README_CN.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README_CN.md b/README_CN.md index 16d3ec19b..568cd229a 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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/) From e1142216eca8c91701457a2a85cbe45d1e7c3ec9 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Mon, 21 Aug 2023 18:33:45 +0800 Subject: [PATCH 3/3] fix: #2672 should use correct resend index --- app/components/chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 656208585..9a9488dd2 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -802,7 +802,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; }