OptionalapiKeyEnv?: stringThe name of the environment variable that holds the API key. The key itself is never saved.
How Kizuki talks to a model server. openai-compatible: any server that speaks the OpenAI
format, such as Ollama and MLX. gateway: Vercel AI Gateway, through the AI SDK's own
gateway provider.
none turns thinking off, which is faster on small local models. default leaves it to the model.
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).
Extra options sent with each request. With reasoning
none, thinking is turned off, which is much faster on small models.