diff --git a/app/components/settings.tsx b/app/components/settings.tsx index ca0a5a18796..ee45dc044e7 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -81,6 +81,8 @@ import { nanoid } from "nanoid"; import { useMaskStore } from "../store/mask"; import { ProviderType } from "../utils/cloud"; +import { useAllModels } from "../utils/hooks"; + function EditPromptModal(props: { id: string; onClose: () => void }) { const promptStore = usePromptStore(); const prompt = promptStore.get(props.id); @@ -578,6 +580,8 @@ export function Settings() { const config = useAppConfig(); const updateConfig = config.update; + const allModels = useAllModels(); + const updateStore = useUpdateStore(); const [checkingUpdate, setCheckingUpdate] = useState(false); const currentVersion = updateStore.formatVersion(updateStore.version); @@ -1448,6 +1452,30 @@ export function Settings() { > + {config.enableAutoGenerateTitle && ( + + + + )} +