pub struct CustomAgentSpec {
pub id: String,
pub binary: PathBuf,
pub args: Vec<String>,
pub prompt_via_stdin: bool,
pub capabilities: AgentCapabilities,
}Expand description
Declarative registration for an agent with no built-in fingerprint.
Custom agents always go through SubprocessAgentDelegate.
Fields§
§id: String§binary: PathBuf§args: Vec<String>§prompt_via_stdin: bool§capabilities: AgentCapabilitiesTrait Implementations§
Source§impl Clone for CustomAgentSpec
impl Clone for CustomAgentSpec
Source§fn clone(&self) -> CustomAgentSpec
fn clone(&self) -> CustomAgentSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomAgentSpec
impl Debug for CustomAgentSpec
Source§impl<'de> Deserialize<'de> for CustomAgentSpec
impl<'de> Deserialize<'de> for CustomAgentSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomAgentSpec
impl RefUnwindSafe for CustomAgentSpec
impl Send for CustomAgentSpec
impl Sync for CustomAgentSpec
impl Unpin for CustomAgentSpec
impl UnsafeUnpin for CustomAgentSpec
impl UnwindSafe for CustomAgentSpec
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