error display

This commit is contained in:
philschmid
2025-06-18 12:17:50 +00:00
parent e44ee7e7cb
commit 6dab27bf19
4 changed files with 33 additions and 9 deletions

View File

@@ -203,7 +203,9 @@ const AiMessageBubble: React.FC<AiMessageBubbleProps> = ({
</ReactMarkdown>
<Button
variant="default"
className="cursor-pointer bg-neutral-700 border-neutral-600 text-neutral-300 self-end"
className={`cursor-pointer bg-neutral-700 border-neutral-600 text-neutral-300 self-end ${
message.content.length > 0 ? "visible" : "hidden"
}`}
onClick={() =>
handleCopy(
typeof message.content === "string"
@@ -251,6 +253,8 @@ export function ChatMessagesView({
}
};
console.log("liveActivityEvents", liveActivityEvents);
return (
<div className="flex flex-col h-full overflow-hidden">
<ScrollArea className="flex-1 min-h-0" ref={scrollAreaRef}>