+ {chatHistory.length === 0 && (
+
+
+
Start a conversation, generate an image, or handle audio
)}
- {isLoading && (
-
-
-
+ {chatHistory.map((message, index) => (
+
+
+
+ ))}
+
+ {isLoading &&
+ mcpEvents.length > 0 &&
+ (endpointType === EndpointType.RESPONSES || endpointType === EndpointType.CHAT) &&
+ chatHistory.length > 0 &&
+ chatHistory[chatHistory.length - 1].role === "user" && (
+
+ )}
+
+ {isLoading && (
+
+
+
+ )}
+ {chatHistory.length > 0 &&
}
+