pub struct AgentSpec {
pub agent: Agent,
pub model: Option<String>,
pub cli_version: Option<String>,
}Expand description
One agent to install, with its two overridable defaults.
Fields§
§agent: Agent§model: Option<String>The model id, or None for the profile’s default.
cli_version: Option<String>An npm version to pin the CLI to (@<version> on the install line), or None
for the registry’s latest at build time. A pin changes the Dockerfile text and
therefore the reuse hash (AGENT-3).
Implementations§
Trait Implementations§
impl Eq for AgentSpec
impl StructuralPartialEq for AgentSpec
Auto Trait Implementations§
impl Freeze for AgentSpec
impl RefUnwindSafe for AgentSpec
impl Send for AgentSpec
impl Sync for AgentSpec
impl Unpin for AgentSpec
impl UnsafeUnpin for AgentSpec
impl UnwindSafe for AgentSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.