Skip to content
Unverified: This page has not yet been anchored to automated code tests.

vox-llm-config API Reference (generated)

Crate: vox-llm-config · Version: 0.6.0 · Target: Library (lib.rs)

SSOT for LLM/AI setting keys: the declarative LlmConfigKey registry (env name + display metadata + secret classification). vox-secrets, vox-config, and vox-gui are views over it. Pure-data, zero workspace deps (layer 0).

SSOT for LLM/AI setting keys.

LLM_CONFIG_KEYS is the single home for every LLM/AI provider/endpoint/model/ tuning/budget setting. vox-secrets (secret resolution), vox-config (typed accessors), and vox-gui (the Runtime settings catalog) are all views over this table — never parallel copies. Drift is forbidden by parity tests in those crates.

This crate is layer 0: pure data, zero workspace deps. It therefore holds only key metadata (env name, kind, group, label, hint, literal default, secret flag, persistence + config class) — never secret values (those resolve via Clavis in vox-secrets) and never upward calls into accessor crates (defaults are literals; the typed env-resolving accessors live in vox-config).

StructDescription
LlmConfigKeyOne LLM/AI setting. env is the canonical identity every view keys on.
GuiFieldGUI-facing projection of one non-secret key. vox-gui maps this to its Tauri DTO — it does not own the field list.
EnumDescription
Kind—
Group—
PersistenceWhere a non-secret key is persisted. Secrets are EnvOnly (Clavis-backed).
ConfigClassOperator classification, mirrored from vox_config::operator_registry::ConfigClass (kept here so this crate stays dependency-free; a parity test keeps them aligned).
FunctionDescription
as_str—
as_str—
getLook up a key by its canonical env name.
gui_fieldsGUI catalog: every non-secret key projected for the Runtime settings surface.