long sys message

This commit is contained in:
2023-03-15 10:11:57 +08:00
parent 7dd5334a96
commit e95c42a34a

View File

@@ -302,7 +302,9 @@ export function App() {
setChatStore({ ...chatStore }); setChatStore({ ...chatStore });
}} }}
> >
{chatStore.systemMessageContent} {chatStore.systemMessageContent.length > 13
? chatStore.systemMessageContent.slice(0, 10) + "..."
: chatStore.systemMessageContent}
</button>{" "} </button>{" "}
<button className="underline" onClick={changAPIKEY}> <button className="underline" onClick={changAPIKEY}>
KEY KEY