pub struct SequentialAgentConfig {
pub agent: AgentConfig,
}Expand description
The configuration of a sequential agent.
Fields§
§agent: AgentConfigBasic agent setup; run must be None.
Trait Implementations§
Source§impl Clone for SequentialAgentConfig
impl Clone for SequentialAgentConfig
Auto Trait Implementations§
impl !RefUnwindSafe for SequentialAgentConfig
impl !UnwindSafe for SequentialAgentConfig
impl Forget for SequentialAgentConfig
impl Freeze for SequentialAgentConfigwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Arc<dyn Agent>>: Freeze,
PhantomData<Arc<dyn Fn(Context) -> Pin<Box<dyn Future<Output = Result<Option<Content>, AgentError>> + Send>> + Sync + Send>>: Freeze,
*const ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send> is !null: Freeze,
PhantomData<ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send>>: Freeze,
impl Move for SequentialAgentConfig
impl Send for SequentialAgentConfig
impl Sync for SequentialAgentConfig
impl Unpin for SequentialAgentConfig
impl UnsafeUnpin for SequentialAgentConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Arc<dyn Agent>>: UnsafeUnpin,
PhantomData<Arc<dyn Fn(Context) -> Pin<Box<dyn Future<Output = Result<Option<Content>, AgentError>> + Send>> + Sync + Send>>: UnsafeUnpin,
*const ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send>>: UnsafeUnpin,
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