From 6594e0a61f331dd166c48c3b54863e345fb39e81 Mon Sep 17 00:00:00 2001 From: derhornspieler <15236687+derhornspieler@users.noreply.github.com> Date: Mon, 24 Aug 2026 20:03:26 -0400 Subject: [PATCH] fix(ui): point the provider wizard at the shadcn field primitive The field component these import moved into components/ui when the shadcn primitive was installed upstream, and the old copy was deleted. These two files were added on this branch, so they were not among the importers that move repointed, and the merge took the deletion without raising a conflict. --- .../models-and-endpoints/panels/add-provider/WizardSteps.tsx | 2 +- .../src/components/add_model/provider_specific_fields.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/panels/add-provider/WizardSteps.tsx b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/panels/add-provider/WizardSteps.tsx index a374af568bf..11e80990616 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/panels/add-provider/WizardSteps.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/panels/add-provider/WizardSteps.tsx @@ -4,7 +4,7 @@ import React from "react"; import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; -import { Field, FieldLabel } from "@/components/shared/form/field"; +import { Field, FieldLabel } from "@/components/ui/field"; import { SearchSelect, type SearchSelectOption } from "@/components/shared/SearchSelect"; import { Alert, AlertDescription, AlertTitle } from "@/components/shared/Alert"; import CopyButton from "@/components/shared/CopyButton"; diff --git a/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx b/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx index bb6ecd52bac..3fc92fa5249 100644 --- a/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx +++ b/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx @@ -17,7 +17,7 @@ import { import { CredentialItem, ProviderCredentialFieldMetadata, ProviderCredentialVariants } from "../networking"; import { provider_map, Providers } from "../provider_info_helpers"; import { labelWithHint } from "@/components/shared/form/LabelWithHint"; -import { Field, FieldLabel } from "@/components/shared/form/field"; +import { Field, FieldLabel } from "@/components/ui/field"; import { getVariant, inferActiveVariant, resolveVariantFieldDefs } from "./provider_credential_variants"; interface ProviderSpecificFieldsProps {