pub enum Chat {
Native {
args: &'static [&'static str],
},
Adapter {
program: &'static str,
registry: &'static str,
},
}Expand description
How an agent’s Chat runs over ACP.
Variants§
Native
The CLI speaks ACP itself, with these arguments after its program.
Adapter
A separate adapter program speaks ACP for the CLI; registry is its official ACP
Registry ID, from which a pinned version is installed when it is not on the PATH.
Trait Implementations§
impl Copy for Chat
impl Eq for Chat
impl StructuralPartialEq for Chat
Auto Trait Implementations§
impl Forget for Chat
impl Freeze for Chat
impl Move for Chat
impl RefUnwindSafe for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnsafeUnpin for Chat
impl UnwindSafe for Chat
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.