fix show version warning

This commit is contained in:
2023-03-31 04:41:08 +08:00
parent 26f9632f41
commit 11afa12b09
+11 -11
View File
@@ -307,17 +307,17 @@ export default function ChatBOX(props: {
提示:会话过长,已裁切前 {chatStore.postBeginIndex} 条消息 提示:会话过长,已裁切前 {chatStore.postBeginIndex} 条消息
</> </>
)} )}
{chatStore.chatgpt_api_web_version < "v1.3.0" && ( </p>
<> )}
<br /> {chatStore.chatgpt_api_web_version < "v1.3.0" && (
提示:当前会话版本 {chatStore.chatgpt_api_web_version}。 <p className="p-2 my-2 text-center dark:text-white">
<br /> <br />
v1.3.0 提示:当前会话版本 {chatStore.chatgpt_api_web_version}。
引入与旧版不兼容的消息裁切算法。继续使用旧版可能会导致消息裁切过多或过少(表现为失去上下文或输出不完整)。 <br />
<br /> v1.3.0
请在左上角创建新会话:) 引入与旧版不兼容的消息裁切算法。继续使用旧版可能会导致消息裁切过多或过少(表现为失去上下文或输出不完整)。
</> <br />
)} 请在左上角创建新会话:)
</p> </p>
)} )}
{showRetry && ( {showRetry && (