Kizuki
    Preparing search index...

    Function writeSettings

    • Checks and saves the settings. Writes to a temporary file first so a crash never leaves half a file.

      Parameters

      • home: string
      • settings: {
            chat: {
                apiKeyEnv?: string;
                baseURL: string;
                model: string;
                reasoning: "none" | "default";
                replyShape: "server" | "prompt";
            };
            embed: { apiKeyEnv?: string; baseURL: string; model: string };
        }

      Returns Promise<void>