Add "Agente de Parecer" feature

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 16:24:42 +00:00
parent 530e829680
commit 4ca7b2ff64
6 changed files with 498 additions and 5 deletions
+5 -4
View File
@@ -1,16 +1,16 @@
import { useState } from "react";
import { MessageSquare, Image, Mic, ArrowLeft, Plus, ChevronLeft, ChevronRight, Bot } from "lucide-react";
import { MessageSquare, Image, Mic, ArrowLeft, Plus, ChevronLeft, ChevronRight, Bot, FileText } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Separator } from "@/components/ui/separator";
import { ThemeToggle } from "@/components/ThemeToggle";
interface LayoutProps {
children: React.ReactNode;
activeTab: "chat" | "images" | "audio" | "bots";
onTabChange: (tab: "chat" | "images" | "audio" | "bots") => void;
activeTab: "chat" | "images" | "audio" | "bots" | "agent";
onTabChange: (tab: "chat" | "images" | "audio" | "bots" | "agent") => void;
}
type TabType = "chat" | "images" | "audio" | "bots";
type TabType = "chat" | "images" | "audio" | "bots" | "agent";
export const Layout = ({ children, activeTab, onTabChange }: LayoutProps) => {
const [isSidebarCollapsed, setIsSidebarCollapsed] = useState(false);
@@ -20,6 +20,7 @@ export const Layout = ({ children, activeTab, onTabChange }: LayoutProps) => {
{ id: "images" as TabType, label: "Imagens", icon: Image },
{ id: "audio" as TabType, label: "Áudio", icon: Mic },
{ id: "bots" as TabType, label: "Bots", icon: Bot },
{ id: "agent" as TabType, label: "Agente de Parecer", icon: FileText },
];
return (