永远显示提示<p>

This commit is contained in:
2023-04-03 17:46:07 +08:00
parent d5d077f39c
commit 528eb0a300
+14 -12
View File
@@ -289,7 +289,9 @@ export default function ChatBOX(props: {
<br /> <br />
↖点击左上角 NEW 新建对话 ↖点击左上角 NEW 新建对话
<br /> <br />
⚠回答内容和速度会受到对话历史的影响,因此建议为不相关的问题创建一个单独的对话。 请注意,使用 ChatGPT API
的生成文本质量和速度会受到会话上下文的影响,同时历史上下文过长会被裁切。API
会根据发送的上下文总量进行计费,因此建议您为不相关的问题或者不需要上文的问题创建新的对话,以避免不必要的计费。
<br /> <br />
⚠所有历史对话与参数储存在浏览器本地 ⚠所有历史对话与参数储存在浏览器本地
<br /> <br />
@@ -318,17 +320,17 @@ export default function ChatBOX(props: {
... ...
</p> </p>
)} )}
{chatStore.responseModelName && ( <p className="p-2 my-2 text-center opacity-50 dark:text-white">
<p className="p-2 my-2 text-center opacity-50 dark:text-white"> {chatStore.responseModelName && (
Generated by {chatStore.responseModelName} <>Generated by {chatStore.responseModelName}</>
{chatStore.postBeginIndex !== 0 && ( )}
<> {chatStore.postBeginIndex !== 0 && (
<br /> <>
提示:会话过长,已裁切前 {chatStore.postBeginIndex} 条消息 <br />
</> 提示:会话过长,已裁切前 {chatStore.postBeginIndex} 条消息
)} </>
</p> )}
)} </p>
{chatStore.chatgpt_api_web_version < "v1.3.0" && ( {chatStore.chatgpt_api_web_version < "v1.3.0" && (
<p className="p-2 my-2 text-center dark:text-white"> <p className="p-2 my-2 text-center dark:text-white">
<br /> <br />