pub struct CliBackend { /* private fields */ }Expand description
An agent CLI run through agent-call. Each turn starts a fresh process.
Implementations§
Source§impl CliBackend
impl CliBackend
Sourcepub fn new(config: CliBackendConfig) -> Result<Self, AgentError>
pub fn new(config: CliBackendConfig) -> Result<Self, AgentError>
Finds the CLI and checks that it starts (--version).
Sourcepub fn without_sessions(self) -> Self
pub fn without_sessions(self) -> Self
Disables native session persistence and resume, for isolated operator probes.
Trait Implementations§
Source§impl AgentBackend for CliBackend
impl AgentBackend for CliBackend
Auto Trait Implementations§
impl Freeze for CliBackend
impl RefUnwindSafe for CliBackend
impl Send for CliBackend
impl Sync for CliBackend
impl Unpin for CliBackend
impl UnsafeUnpin for CliBackend
impl UnwindSafe for CliBackend
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