Expand description
Layered configuration loading for yallm.
Priority (high to low), each layer overwrites lower layers:
.yallm/secrets.toml- project secrets (gitignored).yallm/*.local.toml- per-machine overrides (gitignored).yallm/config.toml- project config (committed)~/.yallm/config.toml- user defaults- OS env vars
.envfile (only fills keys absent from OS env)
Config files can have an [env] section. Values are returned in a merged
map instead of being written back into the process environment.
Structs§
- Config
File - Top-level yallm TOML structure.
- Lite
LlmModel - Load
Options - Loaded
Config
Enums§
Functions§
- load
- Load config from all layers using default options.
- load_
with_ options - Load config from all layers.
- parse_
litellm_ config_ str