Expand description
~/.warden/config.toml. Every field is optional and has a default.
Pricing lives here and only here — the binary never hardcodes a rate, and an
unpriced model yields None rather than a misleading 0.0.
Structs§
- Config
- Loaded configuration, with defaults already applied.
- General
- Model
Price - Per-million-token rates for one model.
cache_writeis optional because not every provider bills it separately. - Pricing
- A price table, owned. Empty by default, and an empty table prices nothing.
- Source
- Token
Counts - Token counts to price. Absent counts are
None, never0.