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/) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index b9bd24af8..ba9c909f8 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -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; } 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 是什么?