pub struct StaticAgentAvailabilityProbe {
pub available_agent_kinds: Vec<AgentKind>,
}Expand description
Availability probe that returns one caller-provided snapshot.
Fields§
§available_agent_kinds: Vec<AgentKind>Agent kinds reported as available by the static probe.
Trait Implementations§
Source§impl AgentAvailabilityProbe for StaticAgentAvailabilityProbe
impl AgentAvailabilityProbe for StaticAgentAvailabilityProbe
Source§fn available_agent_kinds(&self) -> Vec<AgentKind>
fn available_agent_kinds(&self) -> Vec<AgentKind>
Returns the agent kinds whose backing CLI executable is available.
Source§fn available_agent_clis(&self) -> Vec<AgentCliInfo>
fn available_agent_clis(&self) -> Vec<AgentCliInfo>
Returns available agent CLI executables and their refreshed versions.
Source§fn native_harness_default_model(&self) -> Option<AgentModel>
fn native_harness_default_model(&self) -> Option<AgentModel>
Returns the first
AgentKind::Harness model whose provider
credentials are configured, or None when no provider is. Probes
without credential discovery report none.Auto Trait Implementations§
impl Freeze for StaticAgentAvailabilityProbe
impl RefUnwindSafe for StaticAgentAvailabilityProbe
impl Send for StaticAgentAvailabilityProbe
impl Sync for StaticAgentAvailabilityProbe
impl Unpin for StaticAgentAvailabilityProbe
impl UnsafeUnpin for StaticAgentAvailabilityProbe
impl UnwindSafe for StaticAgentAvailabilityProbe
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more