+ {/* 欢迎消息(左上角,类似消息气泡) */}
+ {messages.length === 0 && (
+
+ )}
+
+ {/* 加载中提示 */}
+ {!currentConversationId && isCreatingConversation && (
+
+ )}
+
+ {/* 消息列表 */}
+ {currentConversationId && messages.map((msg, index) => (
+
+ {msg.role === 'assistant' && (
+
+ )}
+
+
+ {/* 深度思考块 */}
+ {msg.role === 'assistant' && (msg.thinking || isThinking) && index === messages.length - 1 && (
+
+ )}
+
+ {/* 消息内容 */}
+
+ {msg.content}
+ {msg.role === 'assistant' && isStreaming && index === messages.length - 1 && (
+ ▊
+ )}
+
+
+
+ {msg.role === 'user' && (
+
U
+ )}
+
+ ))}
+
+
+