Look up an env var with DEEPAGENTS_CLI_ prefix override.
Checks DEEPAGENTS_CLI_{name} first, then falls back to {name}.
If the prefixed variable is present in the environment (even as an empty
string), the canonical variable is never consulted. This lets users
set DEEPAGENTS_CLI_X="" to shadow a canonically-set key -- the function
will return None (since empty strings are normalized to None),
effectively suppressing the canonical value.
If name already carries the prefix, the double-prefixed lookup is skipped
to avoid nonsensical DEEPAGENTS_CLI_DEEPAGENTS_CLI_* reads
(e.g., when the name comes from a user's config.toml).
| Name | Type | Description |
|---|---|---|
name* | str | The canonical environment variable name (e.g.
|