diff --git a/src/app/(app)/problems/[id]/@ai/@bot/page.tsx b/src/app/(app)/problems/[id]/@ai/@bot/page.tsx index 59a9665..7b87cff 100644 --- a/src/app/(app)/problems/[id]/@ai/@bot/page.tsx +++ b/src/app/(app)/problems/[id]/@ai/@bot/page.tsx @@ -1,5 +1,6 @@ "use client"; +import { toast } from "sonner"; import { useCallback } from "react"; import { useChat } from "@ai-sdk/react"; import { Button } from "@/components/ui/button"; @@ -10,6 +11,7 @@ import { BotIcon, SendHorizonal } from "lucide-react"; import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area"; import { ChatMessageList } from "@/components/ui/chat/chat-message-list"; import { ChatBubble, ChatBubbleMessage } from "@/components/ui/chat/chat-bubble"; +import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"; export default function AiBotPage() { const { problemId, problem, currentLang, currentValue } = useProblem(); @@ -70,12 +72,34 @@ export default function AiBotPage() {