Configuration¶
Elroy offers flexible configuration options to customize its behavior to your needs.
Configuration Methods¶
Elroy's configuration can be specified in two ways, in order of precedence:
-
Environment Variables: Highest priority. All environment variables are prefixed with
ELROY_and use uppercase with underscores: -
Configuration File: Lowest priority, overridden by environment variables
The configuration file location defaults to ~/.elroy/elroy.conf.yaml and can be overridden with the ELROY_CONFIG_PATH environment variable.
For default config values, see defaults.yml
Note: All configuration options can be set via environment variables with the prefix
ELROY_(e.g.,ELROY_CHAT_MODEL=gpt-5). The environment variable name is created by converting the option name to uppercase and adding theELROY_prefix.