Template
Improve chat navigation, model selection, and streaming
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
TabsTrigger,
|
||||
} from "@/components/ui/tabs";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { ChevronDownIcon, Code } from "lucide-react";
|
||||
import { RiArrowDownSLine, RiCodeLine } from "@remixicon/react";
|
||||
|
||||
import { getStatusBadge } from "./tool";
|
||||
|
||||
@@ -52,11 +52,11 @@ export const SandboxHeader = ({
|
||||
{...props}
|
||||
>
|
||||
<div className="flex items-center gap-2">
|
||||
<Code className="size-4 text-muted-foreground" />
|
||||
<RiCodeLine className="size-4 text-muted-foreground" />
|
||||
<span className="font-medium text-sm">{title}</span>
|
||||
{getStatusBadge(state)}
|
||||
</div>
|
||||
<ChevronDownIcon className="size-4 text-muted-foreground transition-transform group-data-[state=open]:rotate-180" />
|
||||
<RiArrowDownSLine className="size-4 text-muted-foreground transition-transform group-data-[state=open]:rotate-180" />
|
||||
</CollapsibleTrigger>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user