pub struct SessionRpcFleet<'a> { /* private fields */ }Expand description
session.fleet.* RPCs.
Implementations§
Source§impl<'a> SessionRpcFleet<'a>
impl<'a> SessionRpcFleet<'a>
Sourcepub async fn start(
&self,
params: FleetStartRequest,
) -> Result<FleetStartResult, Error>
pub async fn start( &self, params: FleetStartRequest, ) -> Result<FleetStartResult, Error>
Starts fleet mode by submitting the fleet orchestration prompt to the session.
Wire method: session.fleet.start.
§Parameters
params- Parameters for starting fleet orchestration: an optional user prompt combined with the fleet instructions, plus the send options forwarded to the resulting turn.
§Returns
Indicates whether fleet mode was successfully activated.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for SessionRpcFleet<'a>
impl<'a> Clone for SessionRpcFleet<'a>
impl<'a> Copy for SessionRpcFleet<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SessionRpcFleet<'a>
impl<'a> !UnwindSafe for SessionRpcFleet<'a>
impl<'a> Freeze for SessionRpcFleet<'a>
impl<'a> Send for SessionRpcFleet<'a>
impl<'a> Sync for SessionRpcFleet<'a>
impl<'a> Unpin for SessionRpcFleet<'a>
impl<'a> UnsafeUnpin for SessionRpcFleet<'a>
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