From 11afa12b0973ac6d2f65c512948c3fcbb213162a Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Fri, 31 Mar 2023 04:41:08 +0800 Subject: [PATCH] fix show version warning --- src/chatbox.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/chatbox.tsx b/src/chatbox.tsx index b9666e1..fa52423 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -307,17 +307,17 @@ export default function ChatBOX(props: { 提示:会话过长,已裁切前 {chatStore.postBeginIndex} 条消息 )} - {chatStore.chatgpt_api_web_version < "v1.3.0" && ( - <> -
- 提示:当前会话版本 {chatStore.chatgpt_api_web_version}。 -
- v1.3.0 - 引入与旧版不兼容的消息裁切算法。继续使用旧版可能会导致消息裁切过多或过少(表现为失去上下文或输出不完整)。 -
- 请在左上角创建新会话:) - - )} +

+ )} + {chatStore.chatgpt_api_web_version < "v1.3.0" && ( +

+
+ 提示:当前会话版本 {chatStore.chatgpt_api_web_version}。 +
+ v1.3.0 + 引入与旧版不兼容的消息裁切算法。继续使用旧版可能会导致消息裁切过多或过少(表现为失去上下文或输出不完整)。 +
+ 请在左上角创建新会话:)

)} {showRetry && (