diff --git a/ui/litellm-dashboard/src/app/onboarding/OnboardingFormBody.tsx b/ui/litellm-dashboard/src/app/onboarding/OnboardingFormBody.tsx index c57c7328b61..31705948ac2 100644 --- a/ui/litellm-dashboard/src/app/onboarding/OnboardingFormBody.tsx +++ b/ui/litellm-dashboard/src/app/onboarding/OnboardingFormBody.tsx @@ -1,5 +1,8 @@ import React from "react"; -import { Alert, Button, Card, Form, Input, Typography } from "antd"; +import { Button } from "@/components/ui/button"; +import { Card } from "@/components/ui/card"; +import { Info } from "lucide-react"; +import { Form, Input } from "antd"; type OnboardingFormBodyProps = { variant: "signup" | "reset_password"; @@ -24,42 +27,46 @@ export function OnboardingFormBody({ return (
- - + +
🚅 LiteLLM - - +
+

{variant === "reset_password" ? "Reset Password" : "Sign Up"} - - +

+

{variant === "reset_password" ? "Reset your password to access Admin UI." : "Claim your user account to login to Admin UI."} - +

{variant === "signup" && ( - +
+ +
+
SSO
+
SSO is under the Enterprise Tier. -
- } - showIcon - /> +
+
)} -
onSubmit({ password: values.password })}> + onSubmit({ password: values.password })} + > @@ -67,7 +74,9 @@ export function OnboardingFormBody({ {claimError && ( - +
+ +
{claimError}
+
)}
-
diff --git a/ui/litellm-dashboard/src/components/playground/chat_ui/CodeInterpreterTool.tsx b/ui/litellm-dashboard/src/components/playground/chat_ui/CodeInterpreterTool.tsx index dd377695569..9bda6438bfd 100644 --- a/ui/litellm-dashboard/src/components/playground/chat_ui/CodeInterpreterTool.tsx +++ b/ui/litellm-dashboard/src/components/playground/chat_ui/CodeInterpreterTool.tsx @@ -1,8 +1,13 @@ import React from "react"; -import { Switch, Tooltip } from "antd"; +import { Switch } from "@/components/ui/switch"; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/components/ui/tooltip"; import MessageManager from "@/components/molecules/message_manager"; -import { CodeOutlined, InfoCircleOutlined, ExclamationCircleOutlined } from "@ant-design/icons"; -import { Text } from "@tremor/react"; +import { AlertTriangle, Code2, Info } from "lucide-react"; interface CodeInterpreterToolProps { accessToken: string; @@ -14,7 +19,8 @@ interface CodeInterpreterToolProps { disabled?: boolean; } -const GITHUB_FEATURE_REQUEST_URL = "https://github.com/BerriAI/litellm/issues/new?template=feature_request.yml"; +const GITHUB_FEATURE_REQUEST_URL = + "https://github.com/BerriAI/litellm/issues/new?template=feature_request.yml"; const isOpenAIModel = (model: string): boolean => { if (!model) return false; @@ -39,42 +45,52 @@ const CodeInterpreterTool: React.FC = ({ const handleToggle = (checked: boolean) => { if (checked && !isOpenAI) { - MessageManager.warning("Code Interpreter is only available for OpenAI models"); + MessageManager.warning( + "Code Interpreter is only available for OpenAI models", + ); return; } onEnabledChange(checked); }; return ( -
+
- - Code Interpreter - - - + + Code Interpreter + + + + + + + Run Python code to generate files, charts, and analyze data. + Container is created automatically. + + +
- + {!isOpenAI && ( -
+
- -
- Code Interpreter is currently only supported for OpenAI models. + +
+ + Code Interpreter is currently only supported for OpenAI models.{" "} + Request support for other providers diff --git a/ui/litellm-dashboard/src/components/prompts/prompt_editor_view/conversation_panel/MessageInput.tsx b/ui/litellm-dashboard/src/components/prompts/prompt_editor_view/conversation_panel/MessageInput.tsx index 9ec232dee40..69ce252e127 100644 --- a/ui/litellm-dashboard/src/components/prompts/prompt_editor_view/conversation_panel/MessageInput.tsx +++ b/ui/litellm-dashboard/src/components/prompts/prompt_editor_view/conversation_panel/MessageInput.tsx @@ -1,9 +1,7 @@ import React from "react"; -import { ArrowUpOutlined } from "@ant-design/icons"; -import { Button as TremorButton } from "@tremor/react"; -import { Input } from "antd"; - -const { TextArea } = Input; +import { ArrowUp } from "lucide-react"; +import { Button } from "@/components/ui/button"; +import { Textarea } from "@/components/ui/textarea"; interface MessageInputProps { inputMessage: string; @@ -26,46 +24,38 @@ const MessageInput: React.FC = ({ }) => { return (
-
-