factor_agent.llm.base.refuse_secrets#

refuse_secrets(name, options)[source]#

Refuse a role’s config on the backend name whose options (their names) hold a key.

Raises:
ValueError

Naming the options that look like keys: a key is read only from an environment variable, which api_key_env names.