programs.aichat.enable
Whether to enable aichat, an All-in-one LLM CLI tool.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.aichat.package
The aichat package to use.
Type: null or package
Default:
pkgs.aichat
Declared by:
programs.aichat.agents
Agent-specific configurations. See https://github.com/sigoden/aichat/wiki/Configuration-Guide#agent-specific for supported values.
Type: attribute set of (YAML 1.1 value)
Default:
{ }
Example:
{
llama = {
model = "llama3.2:latest";
temperature = 0.5;
use_tools = "web_search";
};
openai = {
agent_prelude = "default";
model = "openai:gpt-4o";
temperature = 0.5;
top_p = 0.7;
use_tools = "fs,web_search";
};
}
Declared by:
programs.aichat.settings
Configuration written to
$XDG_CONFIG_HOME/aichat/config.yaml
on Linux or on Darwin if is set, otherwise
~/Library/Application Support/aichat/config.yaml.
See
https://github.com/sigoden/aichat/blob/main/config.example.yaml
for supported values.
Type: YAML 1.1 value
Default:
{ }
Example:
{
model = "ollama:mistral-small3.1:latest";
clients = [
{
type = "openai-compatible";
name = "ollama";
api_base = "http://localhost:11434/v1";
models = [
{
name = "mistral-small3.1:latest";
supports_function_calling = true;
supports_vision = true;
}
];
}
];
}
Declared by: