Skip to main content

Module config

Module config 

Source

Structs§

Config
ConfigError
LlmConfig
LlmSettings

Constants§

DEFAULT_API_KEY_ENV
DEFAULT_BASE_URL
DEFAULT_SYSTEM_PROMPT
GENERATED_API_KEY_ENV

Functions§

config_dir
Return Lucy’s XDG configuration directory. An unset, empty, or relative XDG_CONFIG_HOME falls back to the standard $HOME/.config location.
config_path
lucy_dir
Lucy’s legacy state directory. Sessions intentionally remain here while user-editable configuration moves to the XDG configuration directory.