LLM Providers
Specifies configurations related to Large Language Model providers, detailing which models to use and their respective settings.
llms:Defines the configuration for different LLM providers as a named map of LLM definitions where each can have the following properties.provider:Type of provider, e.g.,openai.- Early Access in 0.9.17 The OpenAI “Responses” protocol is available for
openai,ollama, andazure_foundryvia the provider variantsopenai:responses,ollama:responses, andazure_foundry:responses. Use a variant when you want the Responses protocol with that endpoint; the plain providers (openai,ollama,azure_foundry) keep using the “Chat Completions” protocol.
- Early Access in 0.9.17 The OpenAI “Responses” protocol is available for
- New in 0.9.18
settings:Optional map of provider-level settings. Settings configured here are inherited by all models under this provider; individual models can override any key in their ownsettings:block. Supported settings:think_map,think,temperature, andexclude_past_reasoning. models:List of models supported by the provider, where each has the following properties:name:Unique name for the model, which can be used with the model property of Session Settings.model:The name of the model as defined by the providersettings:Optional map of settings that are applied per model when in use (inheriting or overriding provider-level settings):- New in 0.9.18
think_map: Configures custom mapping of Enkaidu’s canonical reasoning levels (none,low,medium,high,max) to model-specific wire strings, or disables levels by mapping them to~ornull. If a user requests a disabled or unsupported level (for example via/think set), Enkaidu issues a warning and falls back to the next lower supported level. - Updated in 0.9.15
exclude_past_reasoning: Set totrue, or to a positive number of turns, to ask Enkaidu not to send reasoning content in responses from past turns when prompting the next turn if using this specific model. With a number N, only reasoning from turns older than the last N turns is excluded, preserving recent reasoning (a turn = one user input through the next user input). Some models (e.g.gemma4) recommend enabling this. think: Set to one ofdefault|none|low|medium|high|max. Unspecified meansdefault.- New in 0.9.13
temperature: Set to a number greater than 0 and less than or equal to 2. Omitting it meansdefault.
- New in 0.9.18
env:Environmental variables specific to the provider, essential for authentication and connection.
-
Example: Chat Completions (Standard)
This example shows how to configure a standard provider using the default Chat Completions protocol.
llms: my-ollama: provider: ollama models: - name: glimmer model: muse-glimmer:30b-mxfp8 settings: temperature: 1 think: low # true excludes all past reasoning, or set a # positive number of turns (e.g. 3) to preserve # reasoning after the last N turns exclude_past_reasoning: false -
Example: Responses Protocol (Early Access)
This example shows how to use the new “Responses” protocol by using a specific provider variant.
llms: my-ollama-responses: provider: ollama:responses models: - name: glimmer-responses model: muse-glimmer:30b-mxfp8
Example: Provider Settings & think_map Inheritance
New in 0.9.18
You can define provider-level settings: that all models inherit, while allowing individual models to override or disable specific settings such as think_map:
llms:
openai:
provider: openai
settings:
think: medium
think_map:
max: xhigh
models:
- name: o3-mini
model: o3-mini
settings:
think_map:
none: ~
max: ~In this example:
- All models under
openaiinheritthink: mediumand map canonicalmaxthinking toxhigh. - The
o3-minimodel overridesthink_mapto marknoneandmaxas unsupported (~). Requesting either level triggers a warning and falls back to a supported level.