Kizuki
    Preparing search index...

    Function readSettings

    • Reads the saved settings, or the defaults if none are saved. A broken settings file is an error, not a silent reset.

      Parameters

      • home: string

      Returns Promise<
          {
              chat: {
                  apiKeyEnv?: string;
                  baseURL: string;
                  model: string;
                  provider: "openai-compatible"
                  | "gateway";
                  reasoning: "none" | "default";
                  replyShape: "server" | "prompt";
              };
              embed: {
                  apiKeyEnv?: string;
                  baseURL: string;
                  model: string;
                  provider: "openai-compatible"
                  | "gateway";
              };
              sendOutAllowed: boolean;
          },
      >