+
{children}
);
diff --git a/ui/litellm-dashboard/src/components/playground/compareUI/components/ModelSelector.tsx b/ui/litellm-dashboard/src/components/playground/compareUI/components/ModelSelector.tsx
index ff7fe18ade2..c6d9d5f45c5 100644
--- a/ui/litellm-dashboard/src/components/playground/compareUI/components/ModelSelector.tsx
+++ b/ui/litellm-dashboard/src/components/playground/compareUI/components/ModelSelector.tsx
@@ -1,6 +1,13 @@
import React, { useMemo, useState } from "react";
-import { Select } from "antd";
-import { TextInput } from "@tremor/react";
+import { Input } from "@/components/ui/input";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+
interface ModelSelectorProps {
value: string;
onChange: (value: string) => void;
@@ -8,7 +15,14 @@ interface ModelSelectorProps {
loading?: boolean;
disabled?: boolean;
}
-export function ModelSelector({ value, onChange, models, loading, disabled }: ModelSelectorProps) {
+
+export function ModelSelector({
+ value,
+ onChange,
+ models,
+ loading,
+ disabled,
+}: ModelSelectorProps) {
const [isAddingCustom, setIsAddingCustom] = useState(false);
const [customValue, setCustomValue] = useState("");
@@ -48,31 +62,34 @@ export function ModelSelector({ value, onChange, models, loading, disabled }: Mo
setIsAddingCustom(false);
setCustomValue("");
};
+
return (
-