Manage the local config.toml used by izwi serve.

Synopsis


Subcommands


Supported Keys

izwi config set and izwi config get support these keys:
  • server.host
  • server.port
  • server.cors
  • server.cors_origins
  • models.dir
  • runtime.backend
  • runtime.max_batch_size
  • runtime.threads
  • runtime.max_concurrent
  • runtime.timeout
  • ui.enabled
  • ui.dir
  • defaults.model
  • defaults.speaker
  • defaults.format

izwi config set

Set a configuration value.
Examples:
server.cors_origins accepts either a comma-separated list or a TOML array literal.

izwi config get

Get a specific configuration value.
Examples:
If a key is not set in the file, izwi config get prints the built-in default.

izwi config show

Display the current configuration file.
If no file exists yet, show prints the default template instead.

izwi config edit

Open the configuration file in your default editor.
Uses $EDITOR, or falls back to vi.

izwi config reset

Remove the configuration file.

Options


izwi config path

Show the configuration file path.

Configuration File

The config file is TOML:
Only keys you set need to be present in the file. izwi serve resolves runtime values in this order:
  1. CLI flags
  2. Environment variables
  3. config.toml
  4. Built-in defaults

File Locations


See Also

  • izwi serve — Server options and runtime precedence