Skip to main content

harness_unusable_reason

Function harness_unusable_reason 

Source
pub fn harness_unusable_reason(provider_id: &str) -> Option<String>
Expand description

Why an agent that names provider_id cannot start in this build, or None when the harness is here. A harness AgentMux retired gives its own sentence (retired_reason); any other that is not here (an agent written by a newer AgentMux, or a harness taken out) says so. Either way the agent is kept with its history, and can be changed to another harness or deleted. This is the one place a removed harness is said: a harness that is taken out is added to retired_reason, not given a message of its own.