/* eslint-disable @typescript-eslint/no-explicit-any */ import classNames from "classnames"; import { PiGearSixFill } from "react-icons/pi"; // @ts-expect-error not needed import { PROVIDERS } from "./../../../utils/providers"; function Settings({ open, onClose, provider, error, onChange, }: { open: boolean; provider: string; error?: string; onClose: React.Dispatch>; onChange: (provider: string) => void; }) { return (
onClose(false)} >
Provider Customize Settings
{/* toggle using tailwind css */}

Use auto-provider

{ onChange(provider === "auto" ? "fireworks-ai" : "auto"); }} >

We'll automatically select the best provider for you based on your prompt.

{error !== "" && (

{error}

)}
); } export default Settings;