pub struct ResolvedRuntimeOptions {Show 19 fields
pub provider: ProviderKind,
pub provider_source: ProviderSource,
pub model: String,
pub model_source: ModelSource,
pub api_key: Option<String>,
pub api_key_source: Option<RuntimeApiKeySource>,
pub base_url: String,
pub auth_mode: Option<String>,
pub insecure_skip_tls_verify: bool,
pub output_mode: Option<String>,
pub log_level: Option<String>,
pub telemetry: bool,
pub telemetry_explicit_off: bool,
pub telemetry_endpoint: Option<String>,
pub approval_policy: Option<String>,
pub sandbox_mode: Option<String>,
pub yolo: Option<bool>,
pub verbosity: Option<String>,
pub http_headers: BTreeMap<String, String>,
}Fields§
§provider: ProviderKind§provider_source: ProviderSource§model: String§model_source: ModelSource§api_key: Option<String>§api_key_source: Option<RuntimeApiKeySource>§base_url: String§auth_mode: Option<String>§insecure_skip_tls_verify: bool§output_mode: Option<String>§log_level: Option<String>§telemetry: bool§telemetry_explicit_off: boolA human wrote telemetry = false into the config file.
This is the persistent opt-out, and it is deliberately narrower than
“telemetry resolved to false”. A run-scoped kill switch also resolves
false; treating that as a revocation would destroy the identity and
buffered events of a user who merely set CODEWHALE_TELEMETRY=0 for one
command. Run-scoped kill switches
(--telemetry false, the environment variable) stop the run and leave
every byte on disk alone; only this flag authorizes the wipe.
telemetry_endpoint: Option<String>Where a telemetry batch would be sent, if telemetry were on.
Already resolved: DEFAULT_TELEMETRY_ENDPOINT when nobody configured
one, the configured value when somebody did, and None when somebody
configured an empty one — which means the dry-run sink, not “unset”.
Which schemes are actually contactable is decided where a batch would be
sent, not here — a user must be able to stage a value.
approval_policy: Option<String>§sandbox_mode: Option<String>§yolo: Option<bool>§verbosity: Option<String>§http_headers: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for ResolvedRuntimeOptions
impl Clone for ResolvedRuntimeOptions
Source§fn clone(&self) -> ResolvedRuntimeOptions
fn clone(&self) -> ResolvedRuntimeOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more