OptionalapiKeyEnv?: stringThe name of the environment variable that holds the API key. The key itself is never saved.
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).
The answer model, ready for the AI SDK. The API key, if any, is read from the environment at call time.