config.toml used by izwi serve.
Synopsis
Subcommands
| Command | Description |
|---|---|
show | Show the current config file, or the default template when no file exists |
set | Set a typed configuration value |
get | Get a configuration value, falling back to the built-in default |
edit | Edit the config file in your default editor |
reset | Remove the config file |
path | Show the config file path |
Supported Keys
izwi config set and izwi config get support these keys:
server.hostserver.portserver.corsserver.cors_originsmodels.dirruntime.backendruntime.max_batch_sizeruntime.threadsruntime.max_concurrentruntime.timeoutui.enabledui.dirdefaults.modeldefaults.speakerdefaults.format
izwi config set
Set a configuration value.server.cors_origins accepts either a comma-separated list or a TOML array literal.
izwi config get
Get a specific configuration value.izwi config get prints the built-in default.
izwi config show
Display the current configuration file.show prints the default template instead.
izwi config edit
Open the configuration file in your default editor.$EDITOR, or falls back to vi.
izwi config reset
Remove the configuration file.Options
| Option | Description |
|---|---|
-y, --yes | Reset without confirmation |
izwi config path
Show the configuration file path.Configuration File
The config file is TOML:izwi serve resolves runtime values in this order:
- CLI flags
- Environment variables
config.toml- Built-in defaults
File Locations
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/izwi/config.toml |
| Linux | ~/.config/izwi/config.toml |
| Windows | %APPDATA%\izwi\config.toml |
See Also
izwi serve— Server options and runtime precedence