diff --git a/docs/usage/configuration-options.mdx b/docs/usage/configuration-options.mdx index 45f0885390..fc3fcdb579 100644 --- a/docs/usage/configuration-options.mdx +++ b/docs/usage/configuration-options.mdx @@ -8,6 +8,11 @@ description: This page outlines all available configuration options for OpenHand In GUI Mode, any settings applied through the Settings UI will take precedence. + + **Looking for Environment Variables?** All configuration options can also be set using environment variables. + See the [Environment Variables Reference](./environment-variables) for a complete list with examples. + + ## Location of the `config.toml` File When running OpenHands in CLI, headless, or development mode, you can use a project-specific `config.toml` file for configuration, which must be @@ -18,6 +23,11 @@ specify a different path to the `config.toml` file. The core configuration options are defined in the `[core]` section of the `config.toml` file. +Core configuration options can be set as environment variables by converting to uppercase. For example: +- `debug` → `DEBUG` +- `cache_dir` → `CACHE_DIR` +- `runtime` → `RUNTIME` + ### Workspace - `workspace_base` **(Deprecated)** - Type: `str` @@ -141,6 +151,11 @@ The LLM (Large Language Model) configuration options are defined in the `[llm]` To use these with the docker command, pass in `-e LLM_