From 528eb0a3007671e12313446c537f9b437f6652fb Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Sun, 2 Apr 2023 01:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B8=E8=BF=9C=E6=98=BE=E7=A4=BA=E6=8F=90?= =?UTF-8?q?=E7=A4=BA

?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chatbox.tsx | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/chatbox.tsx b/src/chatbox.tsx index e86b6ab..97095b0 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -289,7 +289,9 @@ export default function ChatBOX(props: {
↖点击左上角 NEW 新建对话
- ⚠回答内容和速度会受到对话历史的影响,因此建议为不相关的问题创建一个单独的对话。 + 请注意,使用 ChatGPT API + 的生成文本质量和速度会受到会话上下文的影响,同时历史上下文过长会被裁切。API + 会根据发送的上下文总量进行计费,因此建议您为不相关的问题或者不需要上文的问题创建新的对话,以避免不必要的计费。
⚠所有历史对话与参数储存在浏览器本地
@@ -318,17 +320,17 @@ export default function ChatBOX(props: { ...

)} - {chatStore.responseModelName && ( -

- Generated by {chatStore.responseModelName} - {chatStore.postBeginIndex !== 0 && ( - <> -
- 提示:会话过长,已裁切前 {chatStore.postBeginIndex} 条消息 - - )} -

- )} +

+ {chatStore.responseModelName && ( + <>Generated by {chatStore.responseModelName} + )} + {chatStore.postBeginIndex !== 0 && ( + <> +
+ 提示:会话过长,已裁切前 {chatStore.postBeginIndex} 条消息 + + )} +

{chatStore.chatgpt_api_web_version < "v1.3.0" && (