Kizuki
    Preparing search index...

    Function providerOptionsFor

    • Extra options sent with each request. With reasoning none, thinking is turned off, which is much faster on small models.

      Parameters

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

          The name of the environment variable that holds the API key. The key itself is never saved.

        • baseURL: string
        • model: string
        • reasoning: "none" | "default"

          none turns thinking off, which is faster on small local models. default leaves it to the model.

        • replyShape: "server" | "prompt"

          How replies are kept in the right shape. server: the server enforces it (Ollama, OpenAI). prompt: Kizuki describes the shape in the prompt and checks the reply itself, for servers that ignore it (MLX).

      Returns Record<string, Record<string, string>>