feat: split into multiple items

This commit is contained in:
vas3k
2025-05-23 14:33:40 +02:00
parent 289b436236
commit 25c61f0519
17 changed files with 332 additions and 57 deletions

View File

@@ -2,10 +2,10 @@ import { Bot } from "lucide-react"
export default function ToolWindow({ title, children }: { title: string; children: React.ReactNode }) {
return (
<div className="border-2 border-purple-500 bg-purple-100 rounded-md overflow-hidden">
<div className="border-2 border-purple-500 bg-purple-100 rounded-md overflow-hidden break-all">
<div className="flex flex-row gap-1 items-center font-bold text-xs bg-purple-200 text-purple-800 p-1">
<Bot className="w-4 h-4" />
<span>Tool called: {title}</span>
<span>{title}</span>
</div>
<div className="p-4">{children}</div>
</div>