Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

678 B
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0

import { getClientPlatform } from "@/components/tauri/window-titlebar";
import { isTauri } from "@/lib/api-base";
import { createSettingsSearchIndex } from "./settings-search";

const clientPlatform = getClientPlatform();

export const DIALOG_SETTINGS_SEARCH_INDEX = createSettingsSearchIndex({
  desktop: isTauri,
  closeToTray:
    isTauri &&
    (clientPlatform.startsWith("win") ||
      clientPlatform.includes("windows") ||
      clientPlatform.includes("linux")),
  menuBarIcon: isTauri && clientPlatform.includes("mac"),
});