diff --git a/src/chatbox.tsx b/src/chatbox.tsx
index 73f5c9e..4d93616 100644
--- a/src/chatbox.tsx
+++ b/src/chatbox.tsx
@@ -838,12 +838,14 @@ export default function ChatBOX(props: {
)}
-
-
-
- {chatStore.systemMessageContent}
+ {chatStore.systemMessageContent.trim() && (
+
+
+
+ {chatStore.systemMessageContent}
+
-
+ )}
{chatStore.history.map((_, messageIndex) => (