Improve chat navigation, model selection, and streaming

This commit is contained in:
Rami Bitar
2026-09-16 13:14:55 -04:00
parent 8790cfb1e2
commit dd04493e25
73 changed files with 1272 additions and 1367 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ import {
TooltipTrigger,
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
import { type LucideIcon, XIcon } from "lucide-react";
import { type RemixiconComponentType, RiCloseLine } from "@remixicon/react";
import type { ComponentProps, HTMLAttributes } from "react";
export type ArtifactProps = HTMLAttributes<HTMLDivElement>;
@@ -57,7 +57,7 @@ export const ArtifactClose = ({
variant={variant}
{...props}
>
{children ?? <XIcon className="size-4" />}
{children ?? <RiCloseLine className="size-4" />}
<span className="sr-only">Close</span>
</Button>
);
@@ -92,7 +92,7 @@ export const ArtifactActions = ({
export type ArtifactActionProps = ComponentProps<typeof Button> & {
tooltip?: string;
label?: string;
icon?: LucideIcon;
icon?: RemixiconComponentType;
};
export const ArtifactAction = ({