Skip to main content

Module config

Module config 

Source
Expand description

CLI configuration management.

Structs§

Config
CLI configuration.
LimitsConfig
Runtime resource limits with safe defaults baked in.
ModelProviderConfig
Optional overrides for a Rhai script provider, from [model_providers.<name>].
ObservabilityConfig
Configuration for structured observability export.
ProviderConfig
Provider configuration.
ScriptToolPermissions
Per-host-function permissions for Rhai script tools ([tool_script_permissions]).
SecurityConfig
[security] in ~/.leviath/config.toml.
TitleConfig
Configuration for auto-generating a short human-readable run title.
WebhookConfig
Completion-webhook delivery tuning.

Enums§

ScriptPermission
Permission for one Rhai script-tool host function (Layer 3 of the four-layer permission model). Gates what a registered script may do, independent of whether the tool itself is visible (available_tools) or approved at runtime (ToolPolicy).
TelemetryExporterKind
Which telemetry exporter to build.
ToolPolicy
Whether a tool call should execute automatically or require user approval.

Functions§

leviath_home_dir
The canonical LEVIATH_HOME-aware resolvers live in leviath_core::paths; these re-exports keep this crate’s established names pointing at that single definition instead of carrying a byte-for- byte copy of it (which is exactly how the override once diverged between components). Config::config_path() stays separate: it has its own narrower LEVIATH_CONFIG_PATH override above. The user’s home directory, honoring the LEVIATH_HOME override.
providers_dir
The directory holding drop-in Rhai provider scripts.