import React from "react"; import commands from "../../../common/commands"; import { useAtomValue } from "jotai"; import { translationAtom } from "@/atoms/translations-atom"; type CustomModelsFolderSelectProps = { customModelsPath: string; setCustomModelsPath: (arg: string) => void; }; export function CustomModelsFolderSelect({ customModelsPath, setCustomModelsPath, }: CustomModelsFolderSelectProps) { const t = useAtomValue(translationAtom); return (
{t("SETTINGS.CUSTOM_MODELS.TITLE")}
{t("SETTINGS.CUSTOM_MODELS.DESCRIPTION")} {t("SETTINGS.CUSTOM_MODELS.LINK_TITLE")}
{customModelsPath}