From 22b4d59b1c9dc50de55826e0f264b6b83b88e36f Mon Sep 17 00:00:00 2001
From: heimoshuiyu
Date: Sat, 8 Jul 2023 09:56:41 +0800
Subject: [PATCH] v1.4.0 warning
---
src/chatbox.tsx | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/chatbox.tsx b/src/chatbox.tsx
index 47c93e9..5052bd9 100644
--- a/src/chatbox.tsx
+++ b/src/chatbox.tsx
@@ -372,6 +372,17 @@ export default function ChatBOX(props: {
请在左上角创建新会话:)
)}
+ {chatStore.chatgpt_api_web_version < "v1.4.0" && (
+
+
+ 提示:当前会话版本 {chatStore.chatgpt_api_web_version} {"< v1.4.0"}。
+
+ v1.4.0
+ 增加了更多参数,继续使用旧版可能因参数确实导致未定义的行为
+
+ 请在左上角创建新会话:)
+
+ )}
{showRetry && (