diff --git a/src/interface/web/app/agents/page.tsx b/src/interface/web/app/agents/page.tsx index 89deb663..c42c3ff8 100644 --- a/src/interface/web/app/agents/page.tsx +++ b/src/interface/web/app/agents/page.tsx @@ -33,6 +33,7 @@ import { SidebarInset, SidebarProvider, SidebarTrigger } from "@/components/ui/s import { AppSidebar } from "../components/appSidebar/appSidebar"; import { Separator } from "@/components/ui/separator"; import { KhojLogoType } from "../components/logo/khojLogo"; +import { DialogTitle } from "@radix-ui/react-dialog"; export interface AgentData { slug: string; @@ -145,7 +146,9 @@ function CreateAgentCard(props: CreateAgentCardProps) { "lg:max-w-screen-lg py-4 overflow-y-scroll h-full md:h-4/6 rounded-lg flex flex-col" } > - Create Agent + + Create Agent + {!props.userProfile && showLoginPrompt && ( ( ), + Image: (color: string, width: string, height: string) => ( + + ), + File: (color: string, width: string, height: string) => ( + + ), }; export function getIconForSlashCommand(command: string, customClassName: string | null = null) { diff --git a/src/interface/web/app/components/agentCard/agentCard.tsx b/src/interface/web/app/components/agentCard/agentCard.tsx index f90be51f..87ce30d2 100644 --- a/src/interface/web/app/components/agentCard/agentCard.tsx +++ b/src/interface/web/app/components/agentCard/agentCard.tsx @@ -92,6 +92,7 @@ import ShareLink from "@/app/components/shareLink/shareLink"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; +import { ScrollArea } from "@/components/ui/scroll-area"; export interface AgentData { slug: string; @@ -453,7 +454,9 @@ export function AgentCard(props: AgentCardProps) {
{getIconFromIconName(props.data.icon, props.data.color)} -

{props.data.name}

+

+ {props.data.name} +

@@ -649,6 +652,7 @@ export function AgentModificationForm(props: AgentModificationFormProps) { }; const handleSubmit = (values: any) => { + console.log("Submitting", values); props.onSubmit(values); setIsSaving(true); }; @@ -937,7 +941,7 @@ export function AgentModificationForm(props: AgentModificationFormProps) {