R/settings_module.R
detect_env_key.Rd
Checks if any of the provider's supported environment variables are set and returns information about the first one found.
detect_env_key(provider)
Provider ID (e.g., "github", "openai", "anthropic")
A list with var_name, key, and masked (preview), or NULL if no environment variable is set
var_name
key
masked