diff --git a/ui/litellm-dashboard/src/components/agents/dynamic_agent_form_fields.tsx b/ui/litellm-dashboard/src/components/agents/dynamic_agent_form_fields.tsx index 1138b0de730..108309255cd 100644 --- a/ui/litellm-dashboard/src/components/agents/dynamic_agent_form_fields.tsx +++ b/ui/litellm-dashboard/src/components/agents/dynamic_agent_form_fields.tsx @@ -1,11 +1,17 @@ import React from "react"; -import { Form, Input, Select, Collapse } from "antd"; +import { Form, Input as AntInput, Select } from "antd"; +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from "@/components/ui/accordion"; +import { Input } from "@/components/ui/input"; +import { Textarea } from "@/components/ui/textarea"; import { AgentCreateInfo, AgentCredentialFieldMetadata } from "../networking"; import { AGENT_FORM_CONFIG } from "./agent_config"; import CostConfigFields from "./cost_config_fields"; -const { Panel } = Collapse; - interface DynamicAgentFormFieldsProps { agentTypeInfo: AgentCreateInfo; } @@ -23,7 +29,9 @@ const DynamicAgentFormFields: React.FC = ({ @@ -34,41 +42,63 @@ const DynamicAgentFormFields: React.FC = ({ name="description" tooltip="Brief description of what this agent does" > - +