45 lines
1.1 KiB
TypeScript
45 lines
1.1 KiB
TypeScript
"use client";
|
|
|
|
import { Avatar, AvatarFallback } from "@/components/ui/avatar";
|
|
import { Button } from "@/components/ui/button";
|
|
import { Textarea } from "@/components/ui/textarea";
|
|
import { ScrollArea } from "@/components/ui/scroll-area";
|
|
import {
|
|
Select,
|
|
SelectContent,
|
|
SelectItem,
|
|
SelectTrigger,
|
|
SelectValue,
|
|
} from "@/components/ui/select";
|
|
import {
|
|
Send,
|
|
Bot,
|
|
Loader2,
|
|
Copy,
|
|
Code,
|
|
Sparkles,
|
|
MessageSquarePlus,
|
|
FlaskConical,
|
|
BookText,
|
|
} from "lucide-react";
|
|
import { AethexLogo } from "./icons";
|
|
import { useState, useRef, useEffect, memo } from "react";
|
|
import { aiHelpFromPrompt } from "@/ai/flows/ai-help-from-prompt";
|
|
import { cn } from "@/lib/utils";
|
|
import { marked } from "marked";
|
|
import SyntaxHighlighter from "react-syntax-highlighter";
|
|
import { atomOneDark } from "react-syntax-highlighter/dist/esm/styles/hljs";
|
|
import { useToast } from "@/hooks/use-toast";
|
|
import {
|
|
Tooltip,
|
|
TooltipContent,
|
|
TooltipProvider,
|
|
TooltipTrigger,
|
|
} from "@/components/ui/tooltip";
|
|
|
|
|
|
const AiAssistant = () => {
|
|
return <aside>AiAssistant (stub)</aside>;
|
|
};
|
|
|
|
export default AiAssistant;
|