fix show version warning

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