Skip to main content

AgentAvailabilityProbe

Trait AgentAvailabilityProbe 

Source
pub trait AgentAvailabilityProbe: Send + Sync {
    // Required method
    fn available_agent_kinds(&self) -> Vec<AgentKind>;

    // Provided method
    fn available_agent_clis(&self) -> Vec<AgentCliInfo> { ... }
}
Expand description

Detects which provider CLIs are locally runnable on the current machine.

Required Methods§

Source

fn available_agent_kinds(&self) -> Vec<AgentKind>

Returns the agent kinds whose backing CLI executable is available.

Provided Methods§

Source

fn available_agent_clis(&self) -> Vec<AgentCliInfo>

Returns available agent CLI executables and their refreshed versions.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§