Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions crates/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,24 @@ Project config lives at `./.nemo-relay/config.toml`; user config lives at
The project layer overrides system config, and the user layer overrides the
project layer.

General options are configured through the top-level config. Edit the config with:
Set up agent entries in the top-level config with:

```bash
nemo-relay config
```

Edit gateway limits, provider upstreams, and operational logging with the
structured user-config editor:

```bash
nemo-relay config edit
```

Use `--project` for the nearest project `config.toml`, or `--global` for
`/etc/nemo-relay/config.toml`. Global saves are system-readable (`0644` on
Unix) and reject authorization headers; use the corresponding environment
variables or a user config for credentials.

Observability exporters are configured through the plugin config. Edit the user
plugin config with:

Expand All @@ -151,7 +163,10 @@ Other dynamic plugins use a raw JSON object editor.
The canonical plugin file is `plugins.toml`; user config lives at
`~/.config/nemo-relay/plugins.toml` or
`$XDG_CONFIG_HOME/nemo-relay/plugins.toml`. Project config lives at
`.nemo-relay/plugins.toml`.
`.nemo-relay/plugins.toml`. Use `nemo-relay plugins edit --global` to edit
`/etc/nemo-relay/plugins.toml`; it is system-readable (`0644` on Unix), so do
not store credentials there. The editor rejects schema-declared secret values
in global plugin configuration.

Minimal ATIF example:

Expand Down
Loading
Loading